import { PaymentRequestOptionsJSON, PaymentResponseJSON } from "../../listen/auth/types";
export interface PaymentCredentialResponse extends PaymentResponse {
    complete(): Promise<void>;
    retry(): Promise<void>;
    details: PublicKeyCredential & {
        response: AuthenticatorAssertionResponse;
    };
    methodName: string;
    payerEmail?: string;
    payerName?: string;
    payerPhone?: string;
    requestId: string;
    shippingAddress?: unknown;
    shippingOption?: unknown;
    toJSON(): unknown;
}
export declare function isPaymentRequestWindow(window: Window): boolean;
export declare function isSecurePaymentConfirmationSupported(): Promise<any[]>;
export interface PaymentMethodInfo {
    paymentMethodId: string;
    paymentMethodName: string;
    challenge: string;
    credentialIds: string[];
    payeeOrigin?: string;
}
export declare function authenticatePaymentMethod({ credentialIds, challenge, paymentMethodName, payeeOrigin }: PaymentMethodInfo): Promise<void>;
export declare function startPaymentRequest(options: PaymentRequestOptionsJSON): Promise<PaymentResponseJSON>;
