import * as _kb_labs_shared_command_kit from '@kb-labs/shared-command-kit';

/**
 * agent:rollback — Rollback file changes made by agents.
 *
 * Uses ChangeStore from @kb-labs/agent-history.
 * All rollback logic is in ChangeTrackingMiddleware.rollbackRun() or handled here via ChangeStore.
 *
 * Usage:
 *   pnpm kb agent:rollback --run-id={id} --session-id={id}
 *   pnpm kb agent:rollback --file=src/index.ts --session-id={id}
 *   pnpm kb agent:rollback --session-id={id}
 *   pnpm kb agent:rollback --run-id={id} --session-id={id} --dry-run
 */
type RollbackInput = {
    'run-id'?: string;
    runId?: string;
    'session-id'?: string;
    sessionId?: string;
    file?: string;
    'dry-run'?: boolean;
    dryRun?: boolean;
    json?: boolean;
};
declare const _default: _kb_labs_shared_command_kit.CommandHandlerV3<unknown, RollbackInput, unknown>;

export { _default as default };
