import * as utils from './common'; import { FrankieApiClient } from './frankie-client'; import { SdkModes } from './sdk/types'; export * from './exports'; export * from './types'; export { JourneyName } from './journey/types/contract'; export type { JourneyResult } from './journey/types/contract'; export { OneSDK }; /** * Exported OneSdk object * Either named as OneSDK or as a default export, which when loaded via CDN * The UMD build will attach the default export to the global window object as [window.]OneSdk * * The default export of the OneSDK, also exposed as a named variable `OneSDK`. * It is an asynchronous function that returns a Promise of the OneSdkContext, * which is essentially an instance of the OneSDK. * (options: OneSdkRootParameters) => Promise * * This default export also contains utilities attached to it, such as the `modes` enum. * @param {OneSdkRootParameters} options * @returns {Promise} Promise of an Instance of OneSDK */ declare const OneSDK: ((p: import("./sdk/types").OneSdkRootParameters) => Promise) & { FrankieApiClient: typeof FrankieApiClient; utils: typeof utils; modes: typeof SdkModes; environments: typeof utils.ENVIRONMENTS; version: string; wildcardEventLogger: typeof wildcardEventLogger; }; export default OneSDK; export declare function wildcardEventLogger(ev: { eventName: string; arguments: unknown[]; }, stackTrace?: string[]): void; declare global { interface Window { OneSdk: typeof import('.').default; } } //# sourceMappingURL=index.d.ts.map