UNPKG

react-native-klarna-inapp-sdk

Version:

This library wraps Klarna Mobile SDK and exposes its functionality as React Native components.

19 lines 866 B
import type { KlarnaEnvironment } from './types/common/KlarnaEnvironment'; import type { KlarnaProductEvent } from './types/common/KlarnaProductEvent'; import type { KlarnaRegion } from './types/common/KlarnaRegion'; export interface KlarnaSignInProps { readonly environment: KlarnaEnvironment; readonly region: KlarnaRegion; readonly returnUrl: string; } export declare class KlarnaSignInSDK { readonly environment: KlarnaEnvironment; readonly region: KlarnaRegion; readonly returnUrl: string; readonly instanceId: string; private constructor(); static createInstance(props: KlarnaSignInProps): Promise<KlarnaSignInSDK>; dispose(): Promise<void>; signIn(clientId: string, scope: string, market: string, locale: string, tokenizationId?: string): Promise<KlarnaProductEvent>; } //# sourceMappingURL=KlarnaSignInSDK.d.ts.map