import { editor } from 'monaco-editor'; export interface UseMonacoSyncOptions { typespecModel: editor.ITextModel; content: string; onContentChange: (content: string) => void; } /** * Bidirectional sync between a Monaco editor model and React state. * * - When `content` changes externally (e.g. sample selection), the model is updated. * - When the user types in the editor, `onContentChange` is called. * - Uses a ref guard (`isModelDrivenChangeRef`) to prevent infinite loops. */ export declare function useMonacoSync({ typespecModel, content, onContentChange, }: UseMonacoSyncOptions): void; //# sourceMappingURL=use-monaco-sync.d.ts.map