import type { PayProvider, PayProviderConfig } from "../types/index.js";
import { type PayBackend } from "./provider.js";
export declare function resetWasmState(): void;
export declare function isWasmProviderAvailable(): boolean;
declare class WasmBackend implements PayBackend {
    private payJson;
    private readonly config;
    private initPromise;
    constructor(config: PayProviderConfig);
    private ensureInitialized;
    private initialize;
    getPaymentOptions(requestJson: string): Promise<string>;
    getRequiredPaymentActions(requestJson: string): Promise<string>;
    confirmPayment(requestJson: string): Promise<string>;
}
export declare function createWasmProvider(config: PayProviderConfig): PayProvider;
export { WasmBackend };
//# sourceMappingURL=wasm.d.ts.map