import * as React from "react"; interface IframeCommType { postMessageData?: string; handleReceiveMessage?: (msg: string) => void; handleReady?: () => {}; attributes?: any; serializeMessage?: boolean; targetOrigin?: string; } export declare class IframeComm extends React.Component { static defaultProps: { serializeMessage: boolean; }; _frame: HTMLIFrameElement; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; UNSAFE_componentWillReceiveProps(nextProps: any): void; onReceiveMessage(event: any): void; onLoad(): void; serializePostMessageData(data: any): any; sendMessage(postMessageData: any): void; render(): JSX.Element; } export {};