import { Icon } from "../icon/bfcsIconType.js"; import { Color } from "../types/colorType.js"; export declare namespace TopBar { interface TopBarItem { icon: Icon.IPlaocIcon; onClickCode: string; disabled?: boolean; } interface ITopBarNet { topBarNavigationBack(): Promise; getTopBarShow(): Promise; setTopBarShow(isShow: boolean): Promise; setTopBarHidden(): Promise; getTopBarOverlay(): Promise; setTopBarOverlay(alpha: string): Promise; getTopBarAlpha(): Promise; setTopBarAlpha(alpha: string): Promise; getTopBarTitle(): Promise; setTopBarTitle(title: string): Promise; hasTopBarTitle(): Promise; getTopBarHeight(): Promise; getTopBarActions(): Promise; setTopBarActions(actionList: TopBarItem[]): Promise; getTopBarBackgroundColor(): Promise; setTopBarBackgroundColor(color: Color.RGBAHex): Promise; getTopBarForegroundColor(): Promise; setTopBarForegroundColor(color: Color.RGBAHex): Promise; } interface TopBarDesktopFFI { setTopbarHidden(scopedValue: boolean | undefined, globalValue?: boolean): Promise; getTopbarHidden(): Promise; setTopbarOverlay(scopedValue: boolean | undefined, globalValue?: boolean): Promise; getTopbarOverlay(): Promise; setTopbarTitle(scopedValue: string | undefined, globalValue?: string): Promise; getTopbarTitle(): Promise; setTopbarHeight(scopedValue: string | undefined, globalValue?: string): Promise; getTopbarHeight(): Promise; setTopbarBackgroundColor(scopedValue: string | undefined, globalValue?: string): Promise; getTopbarBackgroundColor(): Promise; setTopbarForegroundColor(scopedValue: string | undefined, globalValue?: string): Promise; getTopbarForegroundColor(): Promise; } interface DwebTopBar { title: string; "background-color"?: Color.RGBAHex; "foreground-color"?: Color.RGBAHex; overlay?: string | boolean; hidden?: string | boolean; } interface DwebTopBarButton { disabled?: string | boolean; } }