import { editor } from 'monaco-editor';

export declare const useEditorStore: import('pinia').StoreDefinition<"editor", import('pinia')._UnwrapAll<Pick<{
    files: import('vue').Ref<Record<string, VFile>>;
    activeFilename: import('vue').Ref<string>;
    activeFile: import('vue').ComputedRef<VFile>;
    mainFilename: import('vue').Ref<string>;
    packages: import('vue').Ref<never[]>;
    importMap: import('vue').ComputedRef<string>;
    getImportMap: () => ImportMap;
    errors: import('vue').Ref<(string | Error)[]>;
    runtimeErrors: import('vue').Ref<(string | Error)[]>;
}, "files" | "activeFilename" | "mainFilename" | "packages" | "errors" | "runtimeErrors">>, Pick<{
    files: import('vue').Ref<Record<string, VFile>>;
    activeFilename: import('vue').Ref<string>;
    activeFile: import('vue').ComputedRef<VFile>;
    mainFilename: import('vue').Ref<string>;
    packages: import('vue').Ref<never[]>;
    importMap: import('vue').ComputedRef<string>;
    getImportMap: () => ImportMap;
    errors: import('vue').Ref<(string | Error)[]>;
    runtimeErrors: import('vue').Ref<(string | Error)[]>;
}, "activeFile" | "importMap">, Pick<{
    files: import('vue').Ref<Record<string, VFile>>;
    activeFilename: import('vue').Ref<string>;
    activeFile: import('vue').ComputedRef<VFile>;
    mainFilename: import('vue').Ref<string>;
    packages: import('vue').Ref<never[]>;
    importMap: import('vue').ComputedRef<string>;
    getImportMap: () => ImportMap;
    errors: import('vue').Ref<(string | Error)[]>;
    runtimeErrors: import('vue').Ref<(string | Error)[]>;
}, "getImportMap">>;
export type EditorStore = ReturnType<typeof useEditorStore>;
export interface ImportMap {
    imports?: Record<string, string | undefined>;
    scopes?: Record<string, Record<string, string>>;
}
export declare class VFile {
    filename: string;
    code: string;
    hidden: boolean;
    compiled: {
        js: string;
        css: string;
        ssr: string;
    };
    editorViewState: editor.ICodeEditorViewState | null;
    constructor(filename: string, code?: string, hidden?: boolean);
    get language(): "vue" | "css" | "html" | "typescript" | "javascript";
}
