import type { ConsumerInfo } from "@nats-io/jetstream"; import { type ParsedArgs, type FlagSpec, type CompletionResult } from "@cotal-ai/core"; export declare const backupFlags: FlagSpec[]; export declare function backupComplete(argv: string[]): CompletionResult; export declare function isStoppedKvWatcher(stream: string, consumer: ConsumerInfo): boolean; export declare function chunkQueue(): { iterable: AsyncIterable; push(chunk: Uint8Array): Promise; close(error?: Error): void; }; export declare function validateBackupArguments(args: ParsedArgs): void; /** Native preservation/copy guards are unchanged; only final public observations reach the UI. */ export declare function backup(args: ParsedArgs): Promise; //# sourceMappingURL=backup.d.ts.map