/** Options accepted by generate(). */ export interface GenerateOptions { /** Path to config file. */ configPath?: string; /** Overrides config.input_openapi. Resolved from shell CWD before this call. */ inputOverride?: string; /** Overrides config.output. Resolved from shell CWD before this call. */ outputOverride?: string; /** * When true, run in read-only check mode: no files are written and any schema * drift is treated as an error (regardless of config.drift). Exits non-zero on drift. * Incompatible with watch mode. */ check?: boolean; /** * When true, overwrite the input_schema file with a fresh bootstrap from the spec * (the re-bootstrap remedy for drift). Drift is not gated on this run since the file * is being regenerated. Destructive: customizations in the schema file are replaced. */ resetSchema?: boolean; /** * When true, regenerate all output files in memory, compare them against committed * files on disk, and exit non-zero if any file is stale, missing, or extra. Nothing * is written to disk. Incompatible with watch mode. */ checkDrift?: boolean; } export declare function generate(cwd: string, opts?: GenerateOptions | string): Promise; //# sourceMappingURL=generator.d.ts.map