export type TemboGroup = 'APPLICATIONS' | 'BOOKMARKS' | 'CONTACTS' | 'DIRECTORIES' | 'CALENDAR' | 'EVERNOTE' | 'FONTS' | 'IMAGES' | 'MESSAGES' | 'MOVIES' | 'MUSIC' | 'PDF' | 'SOURCE' | 'SYSTEM_PREFS' | 'XML'; export type TemboLocations = string | readonly string[]; export type TemboQuery = { /** * Text to search for. The official URL format documents this as `query`. * * @example 'invoice' */ query: string; q?: never; } | { /** * Short query parameter shown in Houdah's official Alfred custom search example. * * @example 'invoice' */ q: string; query?: never; }; export interface TemboSearchOptions { /** * One or more paths shown in Tembo's locations menu. Repeated to search multiple folders. * * @example '~/Documents' */ location?: TemboLocations; /** * Official Tembo search group value. * * @example 'PDF' */ group?: TemboGroup; } export type TemboSearchPayload = TemboQuery & TemboSearchOptions; export type TemboSearchInLocationPayload = TemboQuery & Omit & { /** * One or more paths shown in Tembo's locations menu. Repeated to search multiple folders. */ location: TemboLocations; }; export type TemboSearchGroupPayload = TemboQuery & Omit & { /** * Official Tembo search group value. */ group: TemboGroup; }; export declare function temboSearchUrl(payload: TemboSearchPayload): string;