/// /** * Update the size of everything in the UI after the window has been resized or other UI size changes have happeped * @param event */ declare function resizeWindow(event?: Event): void declare namespace Interface { function createElement( type: keyof HTMLElementTagNameMap, attributes?: {}, content?: string | HTMLElement | HTMLElement[] ): HTMLElement const data: { left_bar_width: number right_bar_width: number quad_view_x: number quad_view_y: number timeline_head: number start_screen_width: number left_bar: string[] right_bar: string[] } let left_bar_width: number let right_bar_width: number let top_panel_height: number let bottom_panel_height: number let default_data: any function getTopPanel(): Panel function getBottomPanel(): Panel function getLeftPanels(in_order: boolean = true): Panel[] function getRightPanels(in_order: boolean = true): Panel[] function getModeData(): any const Resizers: { left: ResizeLine right: ResizeLine quad_view_x: ResizeLine quad_view_y: ResizeLine top: ResizeLine bottom: ResizeLine timeline_head: ResizeLine start_screen_width: ResizeLine [id: string]: ResizeLine } const status_bar: { menu: Menu vue: Vue } let tab_bar: Vue const Panels: { [key: string]: Panel } function toggleSidebar(side: any, status: any): void const text_edit_menu: Menu function addSuggestedModifierKey(key: 'ctrl' | 'shift' | 'alt', text: string): void function removeSuggestedModifierKey(key: 'ctrl' | 'shift' | 'alt', text: string): void function definePanels(callback: () => void): void const center_screen: HTMLElement const page_wrapper: HTMLElement const preview: HTMLElement const work_screen: HTMLElement const right_bar: HTMLElement const left_bar: HTMLElement namespace CustomElements { class SelectInput> { node: HTMLElement constructor( id: string, options: { value?: T[keyof T] default?: T[keyof T] options: T /** * Set to true to display the specified icon of the selected option in the UI element */ display_icon?: boolean onChange?(value: T[keyof T]): void } ) set(value: T[keyof T]): void } const ResizeLine: any } } declare function updateInterface(): void