import type { editor } from 'monaco-editor';
type MonacoEditor = typeof import('monaco-editor');
type UseBookEditorMonacoLanguageProps = {
    readonly monaco: MonacoEditor | null;
};
/**
 * Ensures the BookEditor Monaco language, tokenizer, links and completion providers are
 * registered exactly once per Monaco instance, while always re-applying the Book theme.
 *
 * @private function of BookEditorMonaco
 */
export declare function ensureBookEditorMonacoLanguage(monaco: MonacoEditor): void;
/**
 * Props required to enforce Book Monaco language/theme on one mounted editor.
 *
 * @private function of BookEditorMonaco
 */
type EnsureBookEditorMonacoLanguageForEditorProps = {
    readonly monaco: MonacoEditor;
    readonly monacoEditor: editor.IStandaloneCodeEditor;
};
/**
 * Ensures the mounted Monaco editor model uses Book language and Book theme.
 *
 * This is resilient when a shared Monaco runtime/theme is changed by another page and the
 * Book editor tree is restored from App Router cache without a full remount.
 *
 * @param props - Monaco runtime and mounted editor instance.
 * @private function of BookEditorMonaco
 */
export declare function ensureBookEditorMonacoLanguageForEditor(props: EnsureBookEditorMonacoLanguageForEditorProps): void;
/**
 * Registers the language helpers that power Monaco inside `BookEditorMonaco`.
 *
 * @private function of BookEditorMonaco
 */
export declare function useBookEditorMonacoLanguage({ monaco }: UseBookEditorMonacoLanguageProps): void;
export {};
