import { BadResponse, ErrorDetail } from "../types/erros";
import type { PayWithCustomerVault, PayWithToken, NMIResponse } from "../types/payment";
export declare class Pay {
    url: string;
    org: string;
    apikey: string;
    constructor(url: string, org: string, apikey: string);
    withCustomerVault(body: PayWithCustomerVault): Promise<ErrorDetail | BadResponse | NMIResponse>;
    withToken(body: PayWithToken): Promise<ErrorDetail | BadResponse | NMIResponse>;
}
