interface FetchDataResult {
    data: {
        id: string;
        label: string;
    }[];
    isLoading: boolean;
    hasError: boolean;
}
type Step = "profile" | "location" | "patient" | "complete";
interface UseAutoAdvanceProps {
    /** Current step */
    currentStep: Step;
    /** Whether auto-advance is allowed (can be disabled when going back) */
    allowAutoAdvance: boolean;
    /** Function to set the next step */
    onAdvance: (nextStep: Step) => void;
    profileId?: string;
    locationsData?: FetchDataResult;
    locationId?: string;
    patientsData?: FetchDataResult;
}
/**
 * Hook that manages automatic step advancement when data is available
 * Advances from profile→location when locations load successfully
 * Advances from location→patient when patients load successfully
 */
export declare const useAutoAdvance: ({ currentStep, allowAutoAdvance, onAdvance, profileId, locationsData, locationId, patientsData, }: UseAutoAdvanceProps) => void;
export {};
//# sourceMappingURL=useAutoAdvance.d.ts.map