/** * Momento URL scheme. */ export type MomentoScheme = 'momento' | 'momento-3'; /** * Shared Momento scheme selector. */ export type MomentoSchemePayload = { /** * URL scheme to use. * * Defaults to `momento`. Use `momento-3` to target Momento 3 when Momento Classic is also installed. */ scheme?: MomentoScheme; }; /** * Shared `text` and repeated `tag` query parameters from Momento's example URLs. * * Momento's parameter table labels these as note/tags, but the official URL * strings use `text=...&tag=...&tag=...`; this package follows the URL strings. */ export type MomentoTextTagPayload = MomentoSchemePayload & { /** * Set note text with the official `text` query parameter. */ text?: string; /** * Set tags as repeated `tag` query parameters. */ tag?: string[]; }; export declare function momentoTextTagParams(payload: MomentoTextTagPayload): { tag?: string[] | undefined; text?: string | undefined; }; export declare function momentoUrl(path: string, params?: Record, scheme?: MomentoScheme): string;