import { AuthorizationConfig } from '@wirewheel/cmp/src/entities/AuthorizationConfig'; import { ClientConfig } from '@wirewheel/cmp/src/entities/ClientConfig'; import { WireWheelClient } from '@wirewheel/cmp/src/WireWheelClient'; import { PrivacyProtocolsConfig } from '@wirewheel/cmp/src/entities/PrivacyProtocolsConfig'; import { EmbeddedConfig } from '@wirewheel/cmp/src/entities/EmbeddedConfig'; import { EmbeddedHandler } from '@wirewheel/cmp/src/EmbeddedHandler'; import { ChildEmbeddedConfig } from '@wirewheel/cmp/src/entities/ChildEmbeddedConfig'; export declare enum Scopes { ConsentWrite = "consent-insert-api", ConsentRead = "consent-get-api", SubjectProfileManage = "subject-profile-manage" } export declare class WireWheelSDK { private static tokenCache; /** * This method retrieves an access token with authorization to execute the functions of the {@link WireWheelClient} * @param config * @param scopes */ static getToken(config: AuthorizationConfig, scopes: Scopes[]): Promise; /** createClient is a factory method for the instantiation of {@link WireWheelClient} */ static createClient(config: ClientConfig, embeddedHandler?: EmbeddedHandler): WireWheelClient; static registerPrivacyProtocols(config: PrivacyProtocolsConfig): Promise; static initEmbeddedParent(config: EmbeddedConfig): EmbeddedHandler; static initEmbeddedChild(config?: ChildEmbeddedConfig): EmbeddedHandler | undefined; }