import { InitialMessage, WidgetMessage } from './interfaces'; type MessageHandler = (event: WidgetMessage) => void; export declare function getAppLayoutMessageHandler(): MessageHandler | undefined; export declare function getAppLayoutInitialMessages(): Array; export declare function pushInitialMessage(message: InitialMessage): void; export declare function registerAppLayoutHandler(handler: MessageHandler): () => void; export declare function clearInitialMessages(): void; /** * Returns whether there is an app layout present on this page or not */ export declare function isAppLayoutReady(): boolean; /** * Returns a promise that resolves once the app layout has loaded */ export declare function whenAppLayoutReady(): Promise; export {};