import { ProjectUIDL } from '@teleporthq/teleport-types'; export declare const SEARCH_SECTION_KEYS: readonly ["pages", "products", "posts", "articles", "bookingItems"]; export type SearchSectionKey = (typeof SEARCH_SECTION_KEYS)[number]; export declare const SEARCH_SECTION_LABELS: Record; export interface InstantSearchSettings { hotkeys: boolean; placeholder: string; sections: SearchSectionKey[]; resultsPerSection: number; minCharacters: number; /** Quiet time after the last keystroke before the site searches. The editor's field caps this at 1000. */ debounceMs: number; } export interface SearchPageIndexEntry { title: string; route: string; /** The page's words, in order, as the editor read them at export; the search finds a term anywhere in them. */ text: string; /** The page's SEO description: what a result says when the term is not in the page's words. */ description?: string; } export interface InstantSearchConfig { settings: InstantSearchSettings; /** The site's own pages, as the editor indexed them at export. */ pages: SearchPageIndexEntry[]; } /** The plugin's configuration when the project has it on; null otherwise. */ export declare const resolveInstantSearchConfig: (uidl: ProjectUIDL) => InstantSearchConfig | null; //# sourceMappingURL=settings.d.ts.map