/** Resource ceilings for model-backed searches that cannot use a DOM `TextQuoteIndex` directly. */ export declare const VIEWER_SEARCH_QUERY_LIMIT:number;export declare const VIEWER_SEARCH_WORK_LIMIT:number;export interface BoundedViewerSearchQuery{needle:string;accepted:boolean;}export declare function boundedViewerSearchQuery(query:string,locale:string):BoundedViewerSearchQuery; /** Charges at least one unit per model field so empty-cell/page collections remain bounded too. */ export declare class ViewerSearchWorkBudget{private remaining;complete:boolean;constructor(maxWork?:number);includes(value:string,needle:string,locale:string):boolean; /** Charges a validation-only field without copying or locale-folding its contents. */ consume(value:string):boolean; /** Reports whether a complete field can be admitted without mutating the remaining budget. */ canConsume(value:string):boolean; /** Searches logical concatenation without first joining an attacker-sized string collection. */ includesJoined(values:Iterable,needle:string,locale:string):boolean;get exhausted():boolean;}