declare const REPOSITORY_OPERATIONS: readonly ["dev-reset", "db-backup", "db-recover", "db-inspect-recovery-target", "db-verify-recovery-cluster", "rehearse-recovery", "rehearse-transactions", "community-cluster-api", "platform-fleet", "platform-recovery"]; export type RepositoryOperation = (typeof REPOSITORY_OPERATIONS)[number]; /** * Global fz options must not disappear before a maintenance parser sees them. * Only --root selects the reviewed checkout; --apply/--json are deliberately * reinserted for the operation. Every other recognized global option is an * error instead of a silently ignored mutation bypass such as --force. */ export declare function unsupportedRepositoryCliOption(argv: readonly string[]): string | undefined; export declare function forwardedRepositoryOperationArguments(options: { apply: boolean; json: boolean; disposableFleetConfirmation?: string; }, args: readonly string[]): string[]; export interface ResolvedRepositoryOperation { operation: RepositoryOperation; root: string; cwd: string; entrypoint: string; } /** * Resolve only reviewed repository-owned operations. * * This is deliberately a closed table, not `fz exec `. The published * Agent can launch maintenance from a checkout, but a typo or untrusted value * cannot turn that facility into arbitrary script execution. */ export declare function resolveRepositoryOperation(operation: RepositoryOperation, requestedRoot: string): ResolvedRepositoryOperation; export declare function runRepositoryOperation(operation: RepositoryOperation, requestedRoot: string, args?: readonly string[]): Promise; export {};