import { i as __name } from "./chunks/rolldown-runtime.mjs"; import { t as LikeC4$1 } from "./chunks/index2.mjs"; export * from "@likec4/core/types"; //#region src/LikeC4.d.ts type LikeC4Options = { /** * By default, if LikeC4 model is invalid, errors are printed to the console. * Disable this behavior by setting this option to false. * * @default true */ printErrors?: boolean; /** * If true, initialization will return rejected promise with the LikeC4 instance. * Use `likec4.getErrors()` to get the errors. * @default false */ throwIfInvalid?: boolean; /** * Logger to use for the language service. * false - no output * @default 'console' */ logger?: 'console' | 'stderr' | false; /** * Whether to use the `dot` binary for layouting or the WebAssembly version. * @default 'wasm' */ graphviz?: 'wasm' | 'binary'; /** * Whether to watch for changes in the workspace. * @default false */ watch?: boolean; /** * The log level to use. * Applied if {@link logger} is not `false` */ logLevel?: 'trace' | 'debug' | 'info' | 'warning' | 'error' | undefined; }; interface LikeC4 extends LikeC4$1 {} declare namespace LikeC4 { function fromSource(likec4SourceCode: string, _opts?: LikeC4Options): Promise; /** * Initializes a LikeC4 instance from the specified workspace path. * By default in current folder */ function fromWorkspace(path?: string, _opts?: LikeC4Options): Promise; } //#endregion export { LikeC4, type LikeC4Options };