import { IPayPalMeta } from '../components/param';
import { HttpCore } from '../components/http-core';
export interface IBody {
    gateway_id: string;
    success_redirect_url: string;
    error_redirect_url: string;
    redirect_url: string;
    meta: IPayPalMeta;
    description?: string;
}
export interface ICheckout {
    gateway_id: string;
    checkout_type: string;
    gateway_type: string;
    link: string;
    reference_id: string;
    token: string;
    mode?: string;
}
export declare class Builder extends HttpCore {
    private body;
    constructor(gatewayID: string, successRedirectUrl: string, errorRedirectUrl: string);
    protected getLink(): string;
    setDescriptions(text: string): void;
    setMeta(meta: IPayPalMeta): void;
    getConfigs(): IBody;
    send(publicKey: string, cb: (checkout: ICheckout) => void, errorCb?: (error: any, code: string) => void): void;
}
//# sourceMappingURL=builder.d.ts.map