UNPKG

@promptbook/openai

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

20 lines (19 loc) 662 B
/** * 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, RegExp, RegExp]; extractAgentReferenceValue: (token: string) => string; resolveAgentReferenceToUrl: (referenceValue: string) => string | null; extractAgentReferenceMatches: (content: string) => { value: string; url: string; index: number; length: number; }[]; };