import { Dispatch } from 'react';
export interface ModalStateT {
    step: null | string;
    modalData: unknown;
}
export type ModalActionT = {
    type: 'default' | 'close';
    step?: null | string;
    modalData?: unknown;
};
declare const ModalStateContext: import("react").Context<ModalStateT>;
declare const ModalDispatchContext: import("react").Context<Dispatch<ModalActionT> | null>;
declare const modalReducer: (state: ModalStateT, action: ModalActionT) => ModalStateT;
export { ModalStateContext, ModalDispatchContext, modalReducer };
