export declare function useNavigation(getTotalSteps: () => number): { prev: () => Promise; next: () => Promise; finish: () => void; };