import React from 'react';
interface Step {
    key: StepKey;
    title: string;
    description: string;
}
declare type StepKey = 'select-category' | 'select-event' | 'confirm-information';
interface StepData {
    currentStep: StepKey;
    isAutoOperate?: boolean;
}
interface StepContextType {
    setStepData: (data: Partial<StepData>) => void;
    currentStepData: Step;
    nextStep: () => void;
    prevStep: () => void;
    closePage: () => void;
    toFirstStep: () => void;
    isLastStep: boolean;
    isFirstStep: boolean;
    isTwoStep: boolean;
    changeAutoOperate: (newAutoOperate: boolean) => void;
}
interface StepProviderProps {
    children: React.ReactNode;
}
export declare const steps: Step[];
export declare const StepContext: React.Context<StepContextType | undefined>;
export declare const StepProvider: React.FC<StepProviderProps>;
/**
 * 使用步骤管理的Hook
 * @throws {Error} 如果在StepProvider外部使用会抛出错误
 * @returns {StepContextType} 步骤管理上下文
 */
export declare const useStep: () => StepContextType;
declare const _default: {
    defaultState: StepData;
};
export default _default;
