import { PlanConfigurationProcessView } from '../../../../../protection-plan/domain/models/plan-configuration-process-view';
import { StartConfigurationInput } from '../../../../../protection-plan/application/configuration-process/configuration-process-orchestrator-use-case';
import { ColdDistributionStep } from '../../../../../protection-plan/application/configuration-process/plan-shares/distribution/cold-shares-distribution-process-use-case';
export type StartConfigurationProcessProps = Omit<StartConfigurationInput, 'planId'>;
export type UsePlanConfigurationProcessReturn = ReturnType<typeof useConfigurePersonalProtectionPlan>;
type ColdStep = ColdDistributionStep | 'SUCCESS';
export declare function useConfigurePersonalProtectionPlan(planId?: string): {
    start: {
        execute: (props: StartConfigurationProcessProps) => Promise<void>;
        error: string | undefined;
        loading: boolean;
    };
    coldShareDistribution: {
        writeCurrentBeneficiaryShare: {
            execute: (devicePin: string) => Promise<void>;
            progress: number | undefined;
            error: string | undefined;
            connectDeviceTimeout: number | undefined;
            status: ColdStep;
        };
    };
    currentStep: {
        retry: {
            execute: () => Promise<void>;
        };
    };
    process: PlanConfigurationProcessView;
    error: string | undefined;
};
export {};
