import { SharedPlanMergeProcessView } from '../../../../domain/models/shared-plan-merge-process-view';
type MergeStatus = 'idle' | 'initializing' | 'running' | 'done' | 'error';
export default function useMergeSharedProtectionPlan(planId?: string): {
    start: {
        execute: () => Promise<void>;
        loading: boolean;
        error: string | undefined;
    };
    retry: {
        execute: () => Promise<void>;
    };
    process: SharedPlanMergeProcessView;
    status: MergeStatus;
    isRunning: boolean;
    isDone: boolean;
    hasError: boolean;
    error: string | undefined;
};
export {};
