import type { SetupAgentsDecisionRecord, SetupAgentsEvidenceRecord, SetupAgentsHandoffRecord, SetupAgentsTaskRecord, SetupAgentsWorkspaceConfig } from '../types/index.js';
export type SetupAgentsReviewRecord = Record<string, unknown>;
export type SetupAgentsExportBundle = {
    version: string;
    exportedAt: string;
    source: string;
    config: SetupAgentsWorkspaceConfig | null;
    state: {
        tasks: SetupAgentsTaskRecord[];
        decisions: SetupAgentsDecisionRecord[];
        evidence: SetupAgentsEvidenceRecord[];
        handoffs: SetupAgentsHandoffRecord[];
        reviews: SetupAgentsReviewRecord[];
    };
};
export type ImportResult = {
    imported: {
        tasks: number;
        decisions: number;
        evidence: number;
        handoffs: number;
        reviews: number;
    };
    skipped: {
        tasks: number;
        decisions: number;
        evidence: number;
        handoffs: number;
        reviews: number;
    };
    dryRun: boolean;
};
export declare function exportWorkspace(cwd: string): SetupAgentsExportBundle;
export declare function importWorkspace(cwd: string, bundle: SetupAgentsExportBundle, opts: {
    onConflict: 'skip' | 'overwrite';
    dryRun: boolean;
}): ImportResult;
