import type { PaymentResult } from '../types/paymentresult'; export declare function registerWidget(widgetId: string, nativeViewTag: number): void; export declare function getWidget(widgetId: string): number | undefined; export declare function unregisterWidget(widgetId: string): void; /** * @deprecated Pass a `ref` to `` instead and call * `elements.confirmPayment(ref)`. The widget-id (string) path * exists only for backward compatibility and will be removed * in the next major release. */ export declare function confirmPayment(widgetId: string): Promise; export declare function updateIntentInitForAllWidgets(): Promise; export declare function updateIntentCompleteForAllWidgets(sdkAuthorization: string): Promise; //# sourceMappingURL=WidgetRegistry.d.ts.map