import type * as Compiler from "@marko/compiler"; import type { TaglibLookup } from "@marko/compiler/babel-utils"; import type TS from "typescript/lib/tsserverlibrary"; import { ScriptLang } from "../extractors/script"; export interface Meta { compiler: typeof Compiler; config: Omit & { cache: Map; translator: { preferAPI?: string; runtimeTypes?: string; [x: string]: unknown; }; }; } interface TypeLibs { internalTypesFile: string | undefined; markoRunTypesFile: string | undefined; markoRunGeneratedTypesFile: string | undefined; markoTypesFile: string | undefined; markoTypesCode: string | undefined; } declare const defaultTypeLibs: Partial; export declare function getCompiler(dir?: string): typeof Compiler; export declare function getCache(dir?: string): Map; export declare function getConfig(dir?: string): Omit & { cache: Map; translator: { preferAPI?: string; runtimeTypes?: string; [x: string]: unknown; }; }; export declare function getTagLookup(dir: string): TaglibLookup; export declare function getTypeLibs(rootDir: string, ts: typeof TS, host: TS.ModuleResolutionHost): { internalTypesFile: string; markoRunTypesFile: string | undefined; markoRunGeneratedTypesFile: string | undefined; markoTypesFile: string; markoTypesCode: string; }; export declare function getScriptLang(fileName: string, defaultScriptLang: ScriptLang, ts: typeof TS, host: TS.ModuleResolutionHost): ScriptLang; export declare function clearCaches(): void; export declare function setDefaultTypePaths(defaults: typeof defaultTypeLibs): void; export declare function setDefaultCompilerMeta(compiler: typeof Compiler, config: Compiler.Config): void; export {};