export interface InitFlags { force: boolean; quiet: boolean; printOnly: boolean; refreshDocs: boolean; d1: boolean; servers: string[]; clients: string[]; noSkills: boolean; wireRoot: boolean; docsOnly: boolean; } export declare function parseInitArgs(argv: string[]): InitFlags; export interface AgentDocsFlags { servers: string[]; clients: string[]; out: string | undefined; noSkills: boolean; wireRoot: boolean; } export declare function parseAgentDocsArgs(argv: string[]): AgentDocsFlags; export interface GenFlags { dryRun: boolean; entities: string[]; /** First-time-on-existing-file behavior. Default: write-if-different * (existing content becomes the canonical baseline). "fresh" → overwrite * and re-baseline. */ baseline: "default" | "fresh"; /** ADR-0021 D3 — print the stable-name generator registry and exit without * running codegen. */ list: boolean; /** Suppress the advisory anti-pattern (verify-as-teacher) pass. */ noAntipatterns: boolean; } export declare function parseGenArgs(argv: string[]): GenFlags; export interface ExportFlags { out: string | undefined; } export declare function parseExportArgs(argv: string[]): ExportFlags; declare const DIALECTS: readonly ["sqlite", "postgres", "d1"]; type Dialect = (typeof DIALECTS)[number]; declare const ALLOW_TOKENS: readonly ["drop-column", "drop-table", "type-change", "drop-index", "drop-fk", "drop-check", "drop-view", "drop-view-cascade", "adopt-view", "nullable-to-not-null"]; type AllowToken = (typeof ALLOW_TOKENS)[number]; export interface VerifyFlags { /** Directory (relative to cwd) holding provider-resolved template text. */ prompts: string | undefined; /** Live DB connection URL; when present, enables the schema-drift gate. */ db: string | undefined; /** Optional dialect override (auto-detected from --db URL scheme otherwise). */ dialect: Dialect | undefined; /** Destructive-change permissions; only affects how drift is described. */ allow: AllowToken[]; /** Skip the schema-drift gate even when --db is present. */ skipSchema: boolean; /** * #225 — D1 binding name from wrangler.toml, spelled/documented the same way * `meta migrate --d1 ` does. Gated on `--dialect d1` (D1 has no URL * connection, so it can't go through --db); optional disambiguator when * wrangler.toml declares more than one D1 binding. */ d1: string | undefined; /** Target remote D1 instead of local (only meaningful with --dialect d1). */ remote: boolean; /** Run the template/prompt {{field}}↔payload drift gate. */ templates: boolean; /** Run the codegen-drift gate (regenerate-to-temp and diff committed output). */ codegen: boolean; /** Whether ANY explicit subverb flag (--templates/--db/--codegen) was passed. */ anyExplicit: boolean; /** Suppress the advisory anti-pattern (verify-as-teacher) pass. */ noAntipatterns: boolean; /** * ADR-0023 strict-attr load opt-OUT (#96). `verify` is strict-by-default — an * undeclared/typo'd own `@attr` fails verify (ERR_UNKNOWN_ATTR). `--lax` * restores the legacy open-attr load (today's behavior). Default false (strict). */ lax: boolean; } export declare function parseVerifyArgs(argv: string[]): VerifyFlags; export interface PromptSnapshotFlags { /** Compare against committed snapshots and fail on drift; never write. */ check: boolean; /** Directory (relative to cwd) holding provider-resolved template text. */ prompts: string | undefined; } export declare function parsePromptSnapshotArgs(argv: string[]): PromptSnapshotFlags; declare const ON_AMBIGUOUS: readonly ["abort", "rename", "drop-add"]; type OnAmbiguous = (typeof ON_AMBIGUOUS)[number]; export interface MigrateFlags { db: string | undefined; dialect: Dialect | undefined; outDir: string | undefined; slug: string | undefined; allow: AllowToken[]; onAmbiguous: OnAmbiguous | undefined; dryRun: boolean; d1Binding: string | undefined; remote: boolean; apply: boolean; /** * Roll back all applied migrations NEWER than this target (the target itself * is retained), running each migration's down.sql in reverse order. Mutually * exclusive with --apply. postgres/sqlite only (not d1). */ rollback: string | undefined; yes: boolean; /** Use live-DB introspection instead of the committed snapshot (legacy/adoption). */ fromDb: boolean; /** `migrate baseline` subcommand: seed the snapshot, emit no migration. */ baseline: boolean; /** `migrate apply-pending` subcommand: replay committed migration files, no diff. */ applyPending: boolean; } export declare function parseMigrateArgs(argv: string[]): MigrateFlags; export {}; //# sourceMappingURL=args.d.ts.map