import { MessageListener } from '@wirewheel/cmp/src/entities/MessageListener'; import { Message } from '@wirewheel/cmp/src/entities/Message'; import { MessageType } from '@wirewheel/cmp/src/entities/MessageType'; import { MessageService } from '@wirewheel/cmp/src/modules/MessageService'; import { Subject } from '@wirewheel/cmp/src/entities/Subject'; import { Action } from '@wirewheel/cmp/src/entities/Action'; import { CookieConfig } from '@wirewheel/cmp/src/entities/CookieConfig'; import { ChildEmbeddedConfig } from '@wirewheel/cmp/src/entities/ChildEmbeddedConfig'; export declare class EmbeddedHandler { private readonly messageService; private readonly cookieConfig?; private childLoaded; static createFromParent(targetIframe: HTMLIFrameElement, cookieConfig?: CookieConfig): EmbeddedHandler; static createFromChild(childEmbeddedConfig?: ChildEmbeddedConfig): EmbeddedHandler; private readonly store; constructor(messageService: MessageService, cookieConfig?: CookieConfig | undefined); on(type: MessageType, listener: MessageListener): void; send(message: Message): void; login(subject: Subject): void; logout(subject: Subject): void; createConsent(actions: Action[]): void; initParent(): void; initChild(): void; getParentDomain(): string | undefined; private sendHandshake; }