export interface CLIFlags { format: 'text' | 'json'; verbose: boolean; help: boolean; version: boolean; check: boolean; open: boolean | null; input: string; outDir: string; to?: string; dryRun?: boolean; /** Explicitly apply a migration plan that otherwise defaults to preview-only. */ apply?: boolean; /** `dql propose --plan` — print the deterministic plan; write nothing. */ plan?: boolean; port: number | null; /** HTTP bind host. Defaults to 127.0.0.1; set to 0.0.0.0 inside containers. */ host?: string | null; chart: string; domain: string; /** Model Area for context/model import authoring. */ area?: string; /** Governed analytical purpose used to authorize exact cross-domain imports. */ purpose?: string; owner: string; queryOnly: boolean; template: string; connection: string; skipTests: boolean; save?: boolean; force?: boolean; http?: boolean; /** `dql certify --from-draft ` — promote a Tier-2 draft to certified. */ fromDraft?: string; /** `--contract ` — DataLex contract id to bind during certify. */ contract?: string; /** Optional path to datalex-manifest.json for datalex_contract validation. */ datalexManifestPath?: string; /** `--open-pr` — push a branch + open a GitHub PR with the promotion diff. */ openPr?: boolean; /** Agent/provider selection, e.g. ollama/openai/claude/gemini. */ provider?: string; /** Optional agent user id for memory/feedback attribution. */ user?: string; /** Local runtime URL for agent block execution. */ runtimeUrl?: string; runtime?: string; /** Execute generated SQL previews during eval. Default false for route-only eval. */ execute?: boolean; /** Include AI provider, MCP, and metadata checks in `dql doctor`. */ ai?: boolean; /** Enforce enterprise-ready certification requirements. */ enterprise?: boolean; /** Ask app generation to use the richer GenUI planning mode when available. */ aiLayout?: boolean; /** Agent feedback helpers. */ block?: string; question?: string; comment?: string; /** `dql agent ask --thread ` — continue a persisted conversation thread. */ thread?: string; /** `dql agent ask/eval --reasoning-effort low|medium|high` — affects provider effort and context depth. */ reasoningEffort?: string; /** `dql agent ask/eval --analysis-depth quick|deep` — controls context budget. */ analysisDepth?: string; /** `dql eval --min-route-accuracy <0..1>` — fail CI below this route accuracy. */ minRouteAccuracy?: number; /** `dql eval --min-candidate-recall <0..1>` — fail CI below this retrieval recall. */ minCandidateRecall?: number; /** `dql eval --min-refusal <0..1>` — fail CI below this refusal recall. */ minRefusal?: number; /** `dql eval --min-answer-rate <0..1>` — fail CI below answer rate on non-refusal cases. */ minAnswerRate?: number; /** `dql agent eval --min-tool-requirement <0..1>` — fail below this tool-observed requirement pass rate. */ minToolRequirement?: number; /** `dql agent eval --min-execution-match <0..1>` — fail below this execution_match_rate (catches class-B wrong-number regressions on `expected.rows` cases). */ minExecutionMatch?: number; /** `dql agent eval --min-judge-pass <0..1>` — fail below this LLM-judge pass rate (semantic accuracy). */ minJudgePass?: number; /** `dql agent eval --max-wrong-certified ` — fail if more than n answers were wrongly stamped certified. */ maxWrongCertified?: number; /** `dql agent eval --via runtime|loop` — drive the full runtime, or the answer loop in-process. */ via?: string; /** `dql agent eval --cassette record|replay` — record provider responses, or replay them offline. */ cassette?: string; /** `dql agent eval --max-false-refusal <0..1>` — fail above this share of answerable cases refused. */ maxFalseRefusal?: number; /** * `dql agent eval --min-grounded-narration <0..1>` — fail BELOW this share of * attempted verified-fact narrations that survived their fact check. Exists * because a narration truncation broke every ten-row answer deterministically * and no gate could fail on it. */ minGroundedNarration?: number; /** `dql agent eval --min-refusal-recall <0..1>` — fail below this share of must-refuse cases that refused. */ minRefusalRecall?: number; /** `dql eval --no-examples` — skip manifest block examples, score yaml cases only. */ noExamples?: boolean; /** `dql eval --init` — write a starter eval/golden.yaml template into the project. */ init?: boolean; /** `dql diff --impact` — compute downstream impact + re-cert gate for changed blocks. */ impact?: boolean; /** `dql diff --impact --write-recertification` — mark impacted semantic YAML as pending recertification. */ writeRecertification?: boolean; } export interface ParsedArgs { command: string | null; file: string | null; rest: string[]; flags: CLIFlags; } export declare function parseArgs(argv: string[]): ParsedArgs; //# sourceMappingURL=args.d.ts.map