import { BodyType, CloseType, ConfigType } from "./types";
declare class Checkout {
    private readonly config;
    private iframeId;
    constructor(config: ConfigType);
    initialize(): Promise<void>;
    createIframe(body: BodyType): void;
    checkStatus(): void;
    handleResponse(status: string, txRef: string, transactionId: string): Promise<Window | null | undefined>;
    close(status: CloseType, data: Record<string, any>): void;
}
export declare const CoinForBarterCheckout: (config: ConfigType) => Checkout;
export {};
