import { SourceMap } from "./ast/codegen.js"; import { BundlerContext } from "./contexts/compiler.js"; import { DynamicBundleOptions, PresetBundleOptions, UserBundleOptions } from "./modules/bundler/index.js"; import { Format, Omit } from "ts-vista"; type PresetCompileOptions = Format & { bundler: BundlerContext; }>; type UserCompileOptions = UserBundleOptions; type DynamicCompileOptions = DynamicBundleOptions; /** * The options for the `compile` function. */ type CompileOptions = Format; /** * The result of the `compile` function. */ type CompileResult = { /** * The transpiled code. */ code: string; /** * The CSS of the transpiled code. */ css: string; /** * The CSS of the transpiled code that separated by elements. */ cssList: string[]; /** * The source map of the transpiled code. */ map: SourceMap; }; declare const compile: (options: CompileOptions) => Promise; export { type CompileOptions, type CompileResult, type DynamicCompileOptions, type PresetCompileOptions, type SourceMap, type UserCompileOptions, compile }; //# sourceMappingURL=index.d.ts.map