import { MessageBase } from './commands/MessageBase'; declare class MessagingService { static sharedInstance: MessagingService; private childrenWithMessaging_; private initialized_; private onChildrenReady_; initialize(): void; /** * Sends a message to a child iframe. * Note: If multiple iframes have the same src (ie if the same Story is present more than once), * the same message will be sent to all of them. */ sendMessageToChild>(iframe: HTMLIFrameElement, message: T): void; sendMessageToParent>(message: T): void; private sendMessageCore; private handleMessage; } declare const _default: MessagingService; export default _default;