import { editor } from 'monaco-editor'; import { BrowserHost } from '../../types.js'; import { CompilationState } from '../types.js'; export interface UseCompilationOptions { host: BrowserHost; selectedEmitter: string; /** Raw tspconfig.yaml content used to configure the compilation. */ tspconfig: string; typespecModel: editor.ITextModel; } export interface UseCompilationResult { compilationState: CompilationState | undefined; isCompiling: boolean; isOutputStale: boolean; doCompile: () => Promise; } export declare function useCompilation({ host, selectedEmitter, tspconfig, typespecModel, }: UseCompilationOptions): UseCompilationResult; //# sourceMappingURL=use-compilation.d.ts.map