/** * Motor WASM service worker integration for @sonr.io/es * * This module provides TypeScript wrapper methods for the Motor WASM service worker, * enabling type-safe interactions with Payment Gateway and OIDC Authorization services. * * ## Features * * - **Payment Gateway**: W3C Payment Handler API implementation * - **OIDC Authorization**: OpenID Connect authentication flows * - **Service Worker Management**: Automatic registration and lifecycle handling * - **Cross-Environment Support**: Works in browser and Node.js environments * * @packageDocumentation */ export type { MotorPlugin, MotorServiceWorkerConfig, } from './types.js'; export type { MotorPluginConfig } from './plugin.js'; export type { PaymentInstrument, PaymentMethod, PaymentDetails, CanMakePaymentRequest, CanMakePaymentResponse, PaymentRequestEvent, PaymentHandlerResponse, ProcessPaymentRequest, ProcessPaymentResponse, ValidatePaymentMethodRequest, ValidatePaymentMethodResponse, PaymentStatus, RefundPaymentRequest, RefundPaymentResponse, } from './types.js'; export type { OIDCConfiguration, OIDCAuthorizationRequest, OIDCAuthorizationResponse, OIDCTokenRequest, OIDCTokenResponse, OIDCUserInfo, JWKS, JWK, } from './types.js'; export type { ServiceWorkerStatus, EnvironmentInfo, HealthCheckResponse, ServiceInfoResponse, ErrorResponse, } from './types.js'; export type { RegistrationOptions } from './register.js'; export type { OIDCClientConfig } from './oidc.js'; export { MotorPluginImpl } from './plugin.js'; export { MotorServiceWorkerManager } from './worker.js'; export { MotorClient } from './client.js'; export { PaymentGatewayClient, MotorPaymentHandler, MotorPaymentRequest } from './payment.js'; export { OIDCClient } from './oidc.js'; export { createMotorPlugin, createMotorPluginForNode, createMotorPluginForBrowser, } from './plugin.js'; export { createPaymentGatewayClient, createPaymentHandler, isPaymentHandlerSupported, isPaymentRequestSupported, } from './payment.js'; export { createOIDCClient, isOIDCCallback, autoHandleOIDCCallback, } from './oidc.js'; export { registerMotorServiceWorker, unregisterMotorServiceWorker, getMotorServiceWorkerStatus, updateMotorServiceWorker, createUpdatePrompt, useMotorServiceWorker, } from './register.js'; export { getDefaultServiceWorkerManager, waitForServiceWorker, detectEnvironment, } from './worker.js'; /** * Gets or creates the default Motor plugin instance */ export default function getDefaultMotorPlugin(config?: Partial): Promise; /** * Check if Motor is supported in the current environment */ export declare function isMotorSupported(): boolean; /** * Get Motor environment information */ export declare function getMotorEnvironment(): import('./types.js').EnvironmentInfo; //# sourceMappingURL=index.d.ts.map