export type HoudahSpotSearchAttribute = 'name' | 'content' | 'anytext'; export type HoudahSpotLocation = string | readonly string[]; export type HoudahSpotQueryParameter = { /** * The search string, serialized as HoudahSpot's documented `q` parameter. * * @example 'Houdah Software' * @example 'name:*.txt' * @example 'tag:orange' */ q?: string; query?: never; } | { q?: never; /** * The search string, serialized as HoudahSpot's documented `query` alias. */ query?: string; }; export type HoudahSpotLocationParameter = { /** * Folder path to search, serialized as HoudahSpot's documented `l` alias. */ l?: HoudahSpotLocation; location?: never; } | { l?: never; /** * Folder path to search. An array repeats the documented `location` parameter. */ location?: HoudahSpotLocation; }; export type HoudahSpotTemplateParameter = { /** * Template path to use, serialized as HoudahSpot's documented `t` alias. */ t?: string; template?: never; } | { t?: never; /** * Template path to use. HoudahSpot requires the path to include the `.hstemplate` extension. */ template?: string; }; export type HoudahSpotSearchAttributeParameter = { /** * Search attribute selected for the search field. */ s?: HoudahSpotSearchAttribute; search?: never; } | { s?: never; /** * Search attribute selected for the search field, serialized as HoudahSpot's documented `search` alias. */ search?: HoudahSpotSearchAttribute; }; export type HoudahSpotAttributeSearchPayload = HoudahSpotQueryParameter & HoudahSpotLocationParameter & HoudahSpotTemplateParameter; export type HoudahSpotSearchPayload = HoudahSpotAttributeSearchPayload & HoudahSpotSearchAttributeParameter; export declare function houdahSpotSearchUrl(payload?: HoudahSpotSearchPayload): string;