export type DEVONthinkBoolean = 0 | 1; export type DEVONthinkCommon = { /** * The title of the item to be created. */ title?: string; /** * A comment to be added. */ comment?: string; /** * The URL linking to the content, e.g., the URL of the website for the bookmark. */ location?: string; /** * Tags to be added, as comma-separated strings. */ tags?: string; /** * The UUID of a group where the item shall be created. */ destination?: string; /** * Hide and deactivate DEVONthink after executing the command. */ hide?: DEVONthinkBoolean; /** * Skip the group selector. */ noselector?: DEVONthinkBoolean; /** * Post-process the page. 0 means no post-processing; any other value means post-process. */ reader?: number; /** * The URL that referred to the item. */ referrer?: string; }; export declare function commandUrl(command: string, params?: Record): string; export declare function commonParams(payload: DEVONthinkCommon): { referrer?: string | undefined; reader?: number | undefined; noselector?: DEVONthinkBoolean | undefined; hide?: DEVONthinkBoolean | undefined; destination?: string | undefined; tags?: string | undefined; location?: string | undefined; comment?: string | undefined; title?: string | undefined; };