import { Error } from '../core/Error';
import { Handler, MountHandler, PayloadHandler, ThemeSource } from '../types/config';
import { OrderIntent } from '../types/payments';
export declare function capturePayment(options: {
    orderIntentId: string;
    onSuccess: PayloadHandler<OrderIntent>;
    onError?: PayloadHandler<Error>;
    onVerify?: MountHandler;
    onMounted?: Handler;
    apiKey: string;
    height?: number;
    isVerificationCodeRequired?: boolean;
    verificationCode?: string;
    theme?: ThemeSource;
    meta?: Record<string, string>;
    attachCard?: {
        reference: string;
        type: string;
        amount: string;
        consumerOwningEntity?: string;
        paymentConfig?: string;
    };
}): {
    dispose: () => void;
    changeTheme: (name: string) => void;
};
