import React from 'react';
interface EventData {
    currentEventItem: any;
    eventList: any[];
}
interface EventContextType {
    eventData: EventData;
    getEventList: {
        run: (params: any) => void;
        loading: boolean;
        data?: EventData['eventList'];
    };
    getEventListByTitle: (title: string) => any;
    selectEvent: (eventItem: any) => void;
}
interface EventProviderProps {
    children: React.ReactNode;
}
export declare const EventContext: React.Context<EventContextType | undefined>;
export declare const EventProvider: React.FC<EventProviderProps>;
/**
 * 使用步骤管理的Hook
 * @throws {Error} 如果在StepProvider外部使用会抛出错误
 * @returns {StepContextType} 步骤管理上下文
 */
export declare const useEvent: () => EventContextType;
declare const _default: {
    defaultState: EventData;
};
export default _default;
