/// <reference types="react" />
export interface FormState {
    platform: 'pc' | 'h5' | '' | undefined;
    order: any;
    status: 'init' | 'ready' | 'loading' | 'success' | 'error';
    payCallback: (res?: any) => void;
    history?: any;
    payGroup?: PayGroup;
    walletSetting: {
        name: string;
        popup_status: 0 | 1 | null;
    };
}
export interface PayGroup {
    order_id?: string;
    total_amount?: number;
    walletPass?: {
        amount: number;
        cards: any[];
        [key: string]: any;
        paid?: boolean;
    };
    otherPayment?: {
        [key: string]: any;
    };
    wait_amount?: number;
    payment_group_id?: number;
    payment_priority?: string[];
    pay_number?: string;
    _order: any;
}
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
    state: FormState;
} & {
    dispatch: (params: {
        type: string;
        payload: any;
    }) => void;
}>;
