import type { editor } from 'monaco-editor';
type MonacoEditor = typeof import('monaco-editor');
type BookEditorMonacoDiagnostic = {
    readonly startLineNumber: number;
    readonly startColumn: number;
    readonly endLineNumber: number;
    readonly endColumn: number;
    readonly message: string;
    readonly source?: string;
    readonly severity?: 'error' | 'warning' | 'info' | 'hint';
};
type UseBookEditorMonacoDiagnosticsProps = {
    readonly monaco: MonacoEditor | null;
    readonly editor: editor.IStandaloneCodeEditor | null;
    readonly diagnostics?: ReadonlyArray<BookEditorMonacoDiagnostic>;
};
/**
 * Synchronizes Monaco markers with the diagnostics provided to `BookEditorMonaco`.
 *
 * @private function of BookEditorMonaco
 */
export declare function useBookEditorMonacoDiagnostics({ editor, monaco, diagnostics }: UseBookEditorMonacoDiagnosticsProps): void;
export {};
