import { BooleanValue, NumberValue, RecordValue, Schema, StringValue } from '@coveo/bueno'; import type { SuggestionHighlightingOptions } from '../../../utils/highlight.js'; export interface SearchBoxOptions { /** * A unique identifier for the controller. * By default, a unique random identifier is generated. */ id?: string; /** * Whether to interpret advanced [Coveo query syntax](https://docs.coveo.com/en/1552/) in the query. * * @defaultValue `false` */ enableQuerySyntax?: boolean; /** * Specifies delimiters to highlight parts of a query suggestion that e.g match, do not match the query. */ highlightOptions?: SuggestionHighlightingOptions; /** * The number of query suggestions to request from Coveo ML (for example, `3`). * * Using the value `0` disables the query suggest feature. * * @defaultValue `5` */ numberOfSuggestions?: number; /** * Whether to clear all active query filters when the end user submits a new query from the search box. * Setting this option to "false" is not recommended and can lead to an increasing number of queries returning no results. */ clearFilters?: boolean; } type DefaultSearchBoxOptions = Pick; export declare const defaultSearchBoxOptions: Required; export declare const searchBoxOptionDefinitions: { id: StringValue; numberOfSuggestions: NumberValue; enableQuerySyntax: BooleanValue; highlightOptions: RecordValue; clearFilters: BooleanValue; }; export declare const searchBoxOptionsSchema: Schema>; export {};