interface HostEvent extends Event {
    data: {
        id: string;
        [x: string]: any;
    };
}
type ActionFn = (data: HostEvent['data']) => void;
export declare const getHostAppData: (action: ActionFn, resolve: () => void) => (event: Event) => void;
interface MessageArgs {
    guestAppId: string;
    message: {
        id: string;
        auth: string;
    } | string;
}
export declare const sendMessageToHost: (message: MessageArgs, hostedAppUrl?: string) => void;
export {};
