export type $WindowRawState = { topBarOverlay: boolean; topBarContentColor: $WindowStyleColor; topBarBackgroundColor: $WindowStyleColor; bottomBarOverlay: boolean; keyboardOverlaysContent: boolean; bottomBarContentColor: $WindowStyleColor; bottomBarBackgroundColor: $WindowStyleColor; themeColor: $WindowStyleColor; }; export type $DisplayState = { /** * 屏幕高度 */ height: number; /** * 屏幕宽度 */ width: number; /** * 键盘外边界位置大小 */ imeBoundingRect: $Rect; }; export type $Rect = { width: number; height: number; x: number; y: number; }; export type $WindowState = $WindowRawState; export type $WindowStyleColor = "auto" | `#${string}`; export interface $AlertOptions { title: string; message: string; iconUrl?: string; iconAlt?: string; confirmText?: string; dismissText?: string; } export interface $AlertModal extends $Modal, $AlertOptions { type: "alert"; } export interface $BottomSheetsOptions { title?: string; iconUrl?: string; iconAlt?: string; } export interface $BottomSheetsModal extends $BottomSheetsOptions, $Modal { type: "bottom-sheets"; } export interface $Modal { type: string; modalId: string; closeTip?: string; renderId: string; callbackUrl?: string; } interface _$ModalCallback { type: string; sessionId: number; } export interface $OpenModalCallback extends _$ModalCallback { type: "open"; } export interface $CloseModalCallback extends _$ModalCallback { type: "close"; } export interface $CloseAlertModalCallback extends _$ModalCallback { type: "close-alert"; confirm: boolean; } export type $ModalCallback = $OpenModalCallback | $CloseModalCallback | $CloseAlertModalCallback; export {}; //# sourceMappingURL=window.type.d.ts.map