export type OmniOutlinerLinkElements = { /** * Element type and ID for the focused row. */ focus?: string; /** * Element type and ID for the selected row. */ row?: string; }; export type OmniOutlinerDocumentLinkPayload = OmniOutlinerLinkElements & { /** * Folder path to the location of your document. */ path?: string; /** * Name and file extension for your document. */ documentName: string; /** * Unique Omni Links Folder ID, used after the documented `?folder=` parameter. */ folder: string; }; export type OmniOutlinerDocumentRowLinkPayload = Omit & { /** * Element type and ID for the selected row. */ row: string; }; export type OmniOutlinerDocumentLink = `omnioutliner:///doc/${string}?folder=${string}`; export type OmniOutlinerLegacyLink = 'omnioutliner:///open' | `omnioutliner:///open?${string}`; export type OmniOutlinerLink = OmniOutlinerDocumentLink | OmniOutlinerLegacyLink; export type OmniOutlinerOpenLinkPayload = { /** * Full OmniOutliner Omni Link or Legacy Link copied from OmniOutliner. */ url: OmniOutlinerLink; }; export declare function documentLinkPath(path: string | undefined, documentName: string): string; export declare function linkElementParams(payload: OmniOutlinerLinkElements): { row?: string | undefined; focus?: string | undefined; }; export declare function omniOutlinerQuery(params: Record): string;