import { FC, ReactNode } from 'react';
type DisplayMode = 'wheel' | 'result';
export type WheelSpinState = 'IDLE' | 'SPINNING' | 'STOPPED';
interface BoxOpeningContextType {
    wheelSpinState: WheelSpinState;
    animationPhase: 'carousel' | 'transition' | 'final';
    viewMode: DisplayMode;
    isBoxOpeningModalOpen: boolean;
    currentBoxId: number | undefined;
    isSkipped: boolean;
    openBoxModal: (boxId: number, mode?: DisplayMode) => void;
    closeBoxModal: () => void;
    setWheelSpinState: (state: WheelSpinState) => void;
    setAnimationPhase: (phase: 'carousel' | 'transition' | 'final') => void;
    setSkipped: (skipped: boolean) => void;
}
export declare const BoxOpeningProvider: FC<{
    children: ReactNode;
}>;
export declare const useBoxOpening: () => BoxOpeningContextType;
export {};
