import{LyraElement}from'./lyra-element.js';import type{LyraAnchor,LyraAnchorKind,LyraHighlight,HighlightActivateDetail,TextSelectDetail,AnchorResultDetail}from'../components/viewers/document-viewer/anchors.js';type PublicConstructor =new(...args:never[])=>T;type MixedConstructor,Added> =Base&(new(...args:ConstructorParameters)=>InstanceType &Added);export{HIGHLIGHT_SNAPSHOT_LIMIT,}from'./highlight-collection.js'; /** Maximum records a capped highlight renderer receives from one retained snapshot. */ export declare const HIGHLIGHT_CANDIDATE_LIMIT=1000;export interface LyraAnchorTargetEventMap{'lr-highlight-activate':CustomEvent;'lr-text-select':CustomEvent;'lr-anchor-result':CustomEvent;} /** Public surface a `DocumentAnchorTarget`-mixed viewer exposes -- what hosts type against. * External registry authors who can't extend `LyraElement` implement this interface by hand * instead of adopting the mixin. */ export interface LyraAnchorTarget{highlights:readonly LyraHighlight[];activeHighlightId:string|null;anchor:LyraAnchor|string|null;readonly anchorKinds:readonly LyraAnchorKind[];scrollToAnchor(target:LyraAnchor|string):Promise;} /** Returns at most the candidate ceiling, reserving its first slot for an active entry anywhere * in the already-owned, globally bounded immutable snapshot. */ export declare function prioritizedHighlightCandidates(highlights:readonly T[],activeHighlightId:string|null):T[]; /** Public, declaration-safe mixin signature. */ export declare function DocumentAnchorTarget>>(Base:T):MixedConstructor;