import { workflow_step } from '../types';
export declare const useWorkflow: ({ steps, onCancel, onSubmit, ...props }: {
    [key: string]: any;
    steps: workflow_step[];
    onCancel?: Function | undefined;
    onSubmit: Function;
}) => {
    steps: workflow_step[];
    currentStep: workflow_step;
    onNext: (data?: any) => void;
    onPrevious: (data?: any) => (e: any) => void;
    onCancel: (reason?: any) => (e: any) => void;
    onComplete: (data: any) => void;
    onChange: (stepId: any, data?: any) => void;
    onSave: (data: any) => (e: any) => void;
};
export default useWorkflow;
//# sourceMappingURL=useWorkflow.d.ts.map