import { type Token } from "../core.js"; export type ContextSpec = { /** * Path to the directory of markdown/MDX files to sync (read recursively). * Named and resolved exactly like `defineApp`, `defineWorker` and * `defineFile`: relative to the working directory, which the CLI has already * moved into the project. */ path?: string; /** * @deprecated Renamed to `path`, for one name across every resource that * takes one. Still accepted; `path` wins if both are given. */ dir?: string; /** Inline files (repo-relative POSIX path → content). Merged over `path`. */ files?: Record; }; export type ContextHandle = { /** Discriminator (there is one context repo per workspace). */ readonly resource: "context"; /** The context repository's uuid (deferred). */ readonly uuid: Token; }; export declare function defineContext(spec: ContextSpec): ContextHandle; //# sourceMappingURL=context.d.ts.map