import PaymentMethod from '../utils/payment';
import { PaymentMethodOptions } from '../types';
declare type RunParamsBuilderContext = {
    uniquePaymentNumber: string | number;
};
declare type RunParams = {
    params?: {
        [key: string]: any;
    };
    getParams?: (context: RunParamsBuilderContext) => {
        [key: string]: any;
    };
    config?: {
        needResponse?: boolean;
    };
};
export declare const usePayment: (options: PaymentMethodOptions) => {
    run: (runParams?: RunParams) => void;
    query: () => void;
    action: (data: Record<string, any>, config?: Record<string, any>) => void;
    reset: () => void;
    _instance: PaymentMethod | null;
};
export {};
