/**
* `mantle validate` — Loop 1 of the SDK authoring contract
* (ADR-0007). Walks YAML manifests + handler source, emits
* structured Diagnostic JSON or pretty text. Exit code 0 on success
* (no errors; warnings allowed), 1 on any error.
*
* Default paths (relative to cwd):
* manifests root: ./manifests
* handler source: ./src
*
* Override with --manifests
/ --source .
*
* Output mode:
* --format json → JSON array on stdout (default when piped)
* --format text → pretty-print on stdout (default when TTY)
*
* Phase:
* --phase preview → grammar checks only; deploy-only gates skipped (default)
* --phase deploy → production/deploy checks
*
* Per the clean-architecture rules this is a thin adapter: it loads
* files, constructs the request DTO, calls the use case, formats the
* response. No business logic.
*/
export type Phase = "preview" | "deploy";
export interface CliArgs {
readonly manifests: string;
readonly source: string | null;
readonly format: "json" | "text";
readonly phase: Phase;
readonly mcpInputChecks: boolean;
}
export declare function parseArgs(rawArgs: ReadonlyArray): CliArgs;
export declare function run(rawArgs: ReadonlyArray): Promise;
//# sourceMappingURL=ValidateCommand.d.ts.map