/** * A structured description of the `sdocs.config.*` shape, mirroring the * `SdocsConfig` type. Editor tooling consumes this to offer key and value * completions in projects that don't install `sdocs` (where the TypeScript * type isn't resolvable). Keep it in step with `SdocsConfig` in `types.ts`. */ /** One config key: how to present, insert, and (for enums) value-complete it. */ export interface ConfigFieldSchema { /** Short type hint shown as the completion detail, e.g. `'string | string[]'`. */ detail: string; /** Markdown documentation for the key. */ doc: string; /** Snippet inserted after the key name — includes the `:` and a tabstop. */ insert: string; /** Allowed values, for value-position completion. */ values?: string[]; /** Whether `values` are strings (quoted on insert) or literals (inserted bare). */ quoted?: boolean; /** Nested object schema, when this key holds an object. */ object?: ConfigSchema; } /** A config object shape: its keys mapped to their field descriptions. */ export type ConfigSchema = Record; /** The `sdocs.config.*` schema, rooted at the exported config object. */ export declare const configSchema: ConfigSchema;