import{LyraElement}from'./lyra-element.js';import{type LyraAnchorTarget,type LyraAnchorTargetEventMap}from'./anchor-target.js';type PublicConstructor =new(...args:never[])=>T;type MixedConstructor,Added> =Base&(new(...args:ConstructorParameters)=>InstanceType &Added);export interface LyraSearchChangeDetail{query:string; /** Retained matches. A false `matchCountExact` makes this a lower bound. */ matchCount:number; /** False when a corpus, query, match, or work ceiling prevented an exact count. */ matchCountExact:boolean;activeIndex:number;}export interface LyraTextViewerTargetEventMap extends Omit{'lr-search-change':CustomEvent;}export interface LyraTextViewerTarget extends LyraAnchorTarget{ /** Resolves the retained match count. Inspect `lr-search-change.matchCountExact` to distinguish * an exact total from a lower bound when a resource ceiling is reached. */ search(query:string):Promise;searchNext():Promise;searchPrevious():Promise;clearSearch():void;} /** Public, declaration-safe mixin signature. */ export declare function TextViewerTarget>>(Base:T):MixedConstructor;export{};