import { Facet } from "@codemirror/state"; import type { WorkerShape } from "../worker/createWorker.js"; /** * Use this facet if you intend to run your TypeScript * virtual environment within a web worker. * * This is how the ts-related extensions are * configured: this facet sets the path of the file * and the environment to use, and the rest of * the extensions, like tsLint and tsAutocomplete, * pull those settings automatically from editor state. */ export declare const tsFacet: Facet<{ path: string; worker: Omit; log?: (...args: unknown[]) => void; }, FacetConfig>; export type FacetConfig = { path: string; worker: Omit; log?: (...args: unknown[]) => void; } | null; //# sourceMappingURL=tsFacet.d.ts.map