/**
 * Matched agent reference token used by Monaco links.
 *
 * @private function of BookEditorMonaco
 */
type AgentReferenceMatch = {
    readonly value: string;
    readonly url: string;
    readonly index: number;
    readonly length: number;
};
/**
 * Agent reference helpers for `BookEditorMonaco`.
 *
 * @private function of BookEditorMonaco
 */
export declare const BookEditorMonacoTokenization: {
    AGENT_URL_REFERENCE_REGEX: RegExp;
    AGENT_REFERENCE_TOKEN_REGEX: RegExp;
    AGENT_REFERENCE_BRACED_REGEX: RegExp;
    AGENT_REFERENCE_HIGHLIGHT_REGEXES: readonly [RegExp, RegExp, RegExp];
    extractAgentReferenceValue: (token: string) => string;
    resolveAgentReferenceToUrl: (referenceValue: string) => string | null;
    extractAgentReferenceMatches: (content: string) => Array<AgentReferenceMatch>;
};
export {};
