UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

16 lines 771 B
import { InitialMessage, WidgetMessage } from './interfaces'; type MessageHandler = (event: WidgetMessage) => void; export declare function getAppLayoutMessageHandler(): MessageHandler | undefined; export declare function getAppLayoutInitialMessages(): Array<InitialMessage>; 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<unknown>; export {};