/**
 * `crewly backup` — workspace backup CLI (P0: local `create`).
 *
 * Builds a portable `.tar.gz` of this machine's workspace (CREWLY_HOME globals
 * + each project's `.crewly/` + chat.db) that can later be restored on another
 * machine. Runs fully locally and offline. Cloud push/pull/list (Pro-gated)
 * land in later phases. See specs/2026-06-07-workspace-backup.md.
 *
 * @module cli/commands/backup
 */
/** Options accepted by `crewly backup`. */
export interface BackupCommandOptions {
    /** Output archive path (create). */
    out?: string;
    /** Exclude chat.db from the archive (create). commander sets chatDb=false for --no-chat-db. */
    chatDb?: boolean;
    /** Restore conflict mode: 'abort' (default) | 'overwrite'. */
    mode?: string;
    /** Restore source→target path remaps, each "OLD=NEW" (repeatable). */
    map?: string[];
    /** Actually apply the restore. Without this, restore is a dry-run preview. */
    apply?: boolean;
}
/**
 * `crewly backup <action>` dispatcher.
 *
 * @param action - Subcommand: `create` (P0). Others are placeholders.
 * @param options - CLI options
 */
export declare function backupCommand(action: string, target?: string, options?: BackupCommandOptions): Promise<void>;
//# sourceMappingURL=backup.d.ts.map