/** * Scaffold generators for CMS consumer code. * * Used by the agent's `cms` tool (scaffold_consumer action) to write * starter integration files instead of generating static data dumps. */ import type { Framework } from './types.js'; export type ScaffoldOptions = { collection: string; framework?: Framework; /** Field keys to expand as references (e.g. ["author"]). */ expand?: string[]; /** Override the CMS server URL. Default: http://localhost:4096 */ url?: string; /** * Project directory for multi-instance backends (e.g. opencode requires this). * Baked into the generated client literal so requests route to the correct project. */ directory?: string; }; export declare function scaffoldConsumer(opts: ScaffoldOptions): string; export declare function scaffoldFilename(opts: ScaffoldOptions): string; //# sourceMappingURL=scaffold.d.ts.map