Skip to Content
defold-typescript libraries
Pause-Gamesflow

Pause-Games/flow/flow.types

Shared Flow types: the element tree, flexbox style, component props, screen definitions and the navigation API.

  • GitHub: Pause-Games/flow — pinned to 1.0.0
    1. Pick a release from Pause-Games/flow releases and add its Source code (zip) URL (or a packaged .zip asset, if the library ships one) to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Run bunx @defold-typescript/cli resolve to materialize its types.
    3. Import it under a namespace alias of your choice:
      import * as types from "flow.types"

Types

Flow_Style

Flow_Style.width: number | string

Fixed width in px, or percentage "50%"

Flow_Style.height: number | string

Fixed height in px, or percentage "50%"

Flow_Style.min_width: number

Stored for compatibility; currently not enforced by flow/layout.lua

Flow_Style.min_height: number

Stored for compatibility; currently not enforced by flow/layout.lua

Flow_Style.max_width: number

Stored for compatibility; currently not enforced by flow/layout.lua

Flow_Style.max_height: number

Stored for compatibility; currently not enforced by flow/layout.lua

Flow_Style.flex_direction: "column" | "row"

Flow_Style.flex_grow: number

Flow_Style.flex_shrink: number

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.flex_basis: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.align_items: "start" | "center" | "end" | "stretch"

Flow_Style.align_self: "start" | "center" | "end" | "stretch" | "auto"

Flow_Style.justify_content: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly"

Flow_Style.gap: number

Flow_Style.padding: number | string

Flow_Style.padding_left: number | string

Flow_Style.padding_right: number | string

Flow_Style.padding_top: number | string

Flow_Style.padding_bottom: number | string

Flow_Style.margin: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.margin_left: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.margin_right: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.margin_top: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.margin_bottom: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.border: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.border_left: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.border_right: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.border_top: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.border_bottom: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.position_left: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.position_right: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.position_top: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.position_bottom: number | string

Stored for compatibility; currently not consumed by flow/layout.lua

Flow_Style.position_type: "static" | "relative" | "absolute"

Flow_Style.flex_wrap: "no-wrap" | "wrap" | "wrap-reverse"

Flow_Style.overflow: "visible" | "hidden" | "scroll"

Flow_Style.display: "flex" | "none"

Flow_Style.aspect_ratio: number

Flow_Style.direction: "inherit" | "ltr" | "rtl"

Flow_Element

Flow_Element.key: string

Stable unique identifier for node caching

Flow_Element.type: string

Element type ("box", "text", "button", etc.); filled by constructors like Box()/Text()/Button()

Flow_Element.style: Flow_Style

Flow_Element.children: Flow_Element[]

Flow_Element.layout: Flow_LayoutRect

Computed layout (written by layout engine)

Flow_Element.color: Flow_ColorValue

Flow_Element.scale: number | { x?: number; y?: number; z?: number }

Flow_Element.text: string

Flow_Element.align: "left" | "center" | "right"

Flow_Element.font: string

Flow_Element.line_break: boolean

Flow_Element.image: string

Flow_Element.texture: string

Flow_Element.scale_mode: "stretch" | "fit"

Flow_Element.image_aspect: number

Flow_Element.border: number | { left?: number; top?: number; right?: number; bottom?: number }

Flow_Element.pressed_color: Flow_ColorValue

Flow_Element.on_click: (element: Flow_Element) => void

Flow_Element.backdrop_color: Flow_ColorValue

Flow_Element.on_backdrop_click: (element: Flow_Element) => void

Flow_Element._visible: boolean

Flow_Element._is_overlay: boolean

Flow_Element._alpha: number

Flow_Element._offset_x: number

Flow_Element._offset_y: number

Flow_Element._offset_x_pixels: number

Flow_Element._offset_y_pixels: number

Flow_Element._pressed: boolean

Flow_Element._hovered: boolean

Flow_Element._open: boolean

Flow_Element._anim_y: number

Flow_Element._anim_velocity: number

Flow_Element._on_anim_update: (anim_y: number, velocity: number) => void

Flow_Element._sheet_height: number

Flow_Element._scrollbar: boolean

Flow_Element._bounce: boolean

Flow_Element._momentum: boolean

Flow_Element._virtual_height: number

Flow_Element._virtual_width: number

Flow_Element._scroll_y: number

Flow_Element._scroll_x: number

Flow_Element._momentum_active: boolean

Flow_Element._bouncing: boolean

Flow_Element._velocity: number

Flow_Element._dragging_axis: "x" | "y"

Flow_Element._dragging: boolean

Flow_Element._drag_start_y: number

Flow_Element._drag_start_x: number

Flow_Element._scroll_start_y: number

Flow_Element._scroll_start_x: number

Flow_Element._last_drag_y: number

Flow_Element._last_drag_x: number

Flow_Element._last_drag_time: number

Flow_Element._cache_key: string

Flow_Element._node_prefix: string

Flow_Element._background_screen: Flow_Element

Flow_Element._scroll_ancestor: Flow_Element

Flow_Element._needs_redraw: boolean

Flow_Element._scroll_changed: boolean

Flow_Element._clips_children: boolean

Flow_Element._clipping_visible: boolean

Flow_TextProps

Flow_TextProps.text: string

Flow_TextProps.align: "left" | "center" | "right"

Flow_TextProps.font: string

Flow_TextProps.scale: number | { x?: number; y?: number; z?: number }

Flow_TextProps.line_break: boolean

Flow_ButtonProps

Flow_ButtonProps.pressed_color: Flow_ColorValue

Flow_ButtonProps.on_click: (element: Flow_Element) => void

Flow_ButtonProps.image: string

Flow_ButtonProps.texture: string

Flow_ButtonProps.border: number | { left?: number; top?: number; right?: number; bottom?: number }

Flow_ButtonImageProps

Flow_ButtonImageProps.image: string

Flow_IconProps

Flow_IconProps.image: string

Flow_IconProps.texture: string

Flow_IconProps.scale: number | { x?: number; y?: number; z?: number }

Flow_IconProps.scale_mode: "stretch" | "fit"

Flow_IconProps.image_aspect: number

Flow_ScrollProps

Flow_ScrollProps._scrollbar: boolean

Flow_ScrollProps._bounce: boolean

Flow_ScrollProps._momentum: boolean

Flow_ScrollProps._virtual_height: number

Flow_ScrollProps._virtual_width: number

Flow_ScrollProps._scroll_y: number

Flow_ScrollProps._scroll_x: number

Flow_PopupProps

Flow_PopupProps.backdrop_color: Flow_ColorValue

Flow_PopupProps.on_backdrop_click: (element: Flow_Element) => void

Flow_BottomSheetProps

Flow_BottomSheetProps.backdrop_color: Flow_ColorValue

Flow_BottomSheetProps._open: boolean

Flow_BottomSheetProps._anim_y: number

Flow_BottomSheetProps._anim_velocity: number

Flow_BottomSheetProps._on_anim_update: (anim_y: number, velocity: number) => void

Flow_BottomSheetProps.on_backdrop_click: (element: Flow_Element) => void

Flow_BottomSheetApi

Flow_BottomSheetApi.dismiss: (result?: unknown) => boolean

Flow_BottomSheetApi.invalidate: () => boolean

Flow_BottomSheetSheetDef

Flow_BottomSheetSheetDef.view: (params: LuaTable, api: Flow_BottomSheetApi) => Flow_Element

Flow_BottomSheetSheetDef.screens: LuaTable<string, Flow_ScreenDef>

Flow_BottomSheetSheetDef.initial_screen: string

Flow_BottomSheetSheetDef.initial_params: LuaTable | ((params: LuaTable, api: Flow_BottomSheetApi) => LuaTable)

Flow_BottomSheetSheetDef.backdrop_color: Flow_ColorValue

Flow_BottomSheetSheetDef.dismiss_on_backdrop: boolean

Flow_BottomSheetSheetDef.on_dismiss: (params: LuaTable, result: unknown, api: Flow_BottomSheetApi) => void

Flow_BottomSheetHostConfig

Flow_BottomSheetHostConfig.id: string

Flow_BottomSheetHostConfig.sheet: Flow_BottomSheetSheetDef

Flow_BottomSheetHostConfig.open_message_id: Hash | string

Flow_BottomSheetHostConfig.close_message_id: Hash | string

Flow_BottomSheetHostConfig.background_focus_url: Url

Flow_BottomSheetHostConfig.render_order: number

Flow_BottomSheetHostConfig.debug: boolean

Flow_BottomSheetHostConfig.on_update: (self: LuaTable, dt: number, api: Flow_BottomSheetApi) => boolean | undefined

Flow_BottomSheetHostConfig.on_message: (self: LuaTable, message_id: Hash | string, message: LuaTable | undefined, sender: Url | undefined, api: Flow_BottomSheetApi) => boolean | undefined

Flow_LayoutRect

Flow_LayoutRect.x: number

Flow_LayoutRect.y: number

Flow_LayoutRect.w: number

Flow_LayoutRect.h: number

Flow_Logger

Flow_Logger.levels: LuaTable<string, number>

Flow_Logger.get_level: () => Flow_LogLevel

Flow_Logger.set_level: (level: Flow_LogLevel | number) => Flow_LogLevel

Flow_Logger.get_context_level: (context: string) => Flow_LogLevel | undefined

Flow_Logger.set_context_level: (context: string, level: Flow_LogLevel | number) => Flow_LogLevel

Flow_Logger.clear_context_level: (context: string) => boolean

Flow_Logger.none: (context?: string) => Flow_LogLevel

Flow_Logger.is_enabled: (level: Flow_LogLevel | number, context?: string) => boolean

Flow_Logger.set_sink: (fn?: (entry: LuaTable) => void) => boolean

Flow_Logger.debug: (context: string, ...args: unknown[]) => boolean

Flow_Logger.info: (context: string, ...args: unknown[]) => boolean

Flow_Logger.warn: (context: string, ...args: unknown[]) => boolean

Flow_Logger.error: (context: string, ...args: unknown[]) => boolean

Flow_Logger._reset_for_tests: () => boolean

Flow_TransitionMeta

Flow_TransitionMeta.action: string

Flow_TransitionMeta.type: "fade" | "slide_left" | "slide_right" | "none"

Flow_TransitionMeta.duration: number

Flow_TransitionMeta.from_id: string

Flow_TransitionMeta.to_id: string

Flow_ScreenDef

Flow_ScreenDef.view: (params: LuaTable, navigation: Flow_Navigation) => Flow_Element | undefined

Flow_ScreenDef.url: Url

msg.url() for lifecycle message delivery

Flow_ScreenDef.focus_url: Url

msg.url() of the script that owns input focus

Flow_ScreenDef.proxy_url: Url

msg.url() of a collection proxy to load

Flow_ScreenDef.preload: boolean

Flow_ScreenDef.transition: "fade" | "slide_left" | "slide_right" | "none"

Flow_ScreenDef.meta: unknown

Flow_ScreenDef.on_enter: (params: LuaTable, navigation: Flow_Navigation) => void

Flow_ScreenDef.on_exit: (params: LuaTable, navigation: Flow_Navigation) => void

Flow_ScreenDef.on_pause: (params: LuaTable, navigation: Flow_Navigation) => void

Flow_ScreenDef.on_resume: (params: LuaTable, navigation: Flow_Navigation) => void

Flow_RegisteredScreen

Flow_RegisteredScreen.id: string

Flow_RegisteredScreen._source: Flow_ScreenDef

Flow_PushOptions

Flow_PushOptions.transition: "fade" | "slide_left" | "slide_right" | "none"

Flow_PushOptions.duration: number

Flow_PushOptions.on_result: (result: unknown) => void

Flow_PushOptions.result_url: Url

Flow_PushOptions.result_message_id: Hash | string

Flow_StackEntry

Flow_StackEntry.id: string

Flow_StackEntry.params: LuaTable

Flow_StackEntry.screen: Flow_RegisteredScreen

Flow_StackEntry.on_result: (result: unknown) => void

Flow_StackEntry.result_url: Url

Flow_StackEntry.result_message_id: Hash | string

Flow_ScreenScope

Flow_ScreenScope.screen_id: string

Flow_Navigation

Flow_Navigation.register: (id: string, screen_def: Flow_ScreenDef) => Flow_RegisteredScreen

Flow_Navigation.get_screen: (id: string) => Flow_RegisteredScreen | undefined

Flow_Navigation.push: (id: string, params?: LuaMap<string, unknown> | Record<string, unknown>, options?: Flow_PushOptions) => Flow_StackEntry | undefined

Flow_Navigation.pop: (result?: unknown, options?: Flow_PushOptions | string) => Flow_StackEntry | undefined

Flow_Navigation.replace: (id: string, params?: LuaMap<string, unknown> | Record<string, unknown>, options?: Flow_PushOptions) => Flow_StackEntry | undefined

Flow_Navigation.reset: (id: string, params?: LuaMap<string, unknown> | Record<string, unknown>, options?: Flow_PushOptions | string) => Flow_StackEntry | undefined

Flow_Navigation.back: (result?: unknown, options?: Flow_PushOptions | string) => Flow_StackEntry | undefined

Flow_Navigation.current: () => Flow_StackEntry | undefined

Flow_Navigation.peek: (offset?: number) => Flow_StackEntry | undefined

Flow_Navigation.stack_depth: () => number

Flow_Navigation.invalidate: () => void

Flow_Navigation.is_invalidated: () => boolean

Flow_Navigation.clear_invalidation: () => void

Flow_Navigation.is_busy: () => boolean

Flow_Navigation.get_transition: () => Flow_TransitionMeta | undefined

Flow_Navigation.begin_transition: (meta: Flow_TransitionMeta) => Flow_TransitionMeta

Flow_Navigation.complete_transition: () => boolean

Flow_Navigation.get_data: (key_or_opts?: string | Flow_ScreenScope, opts?: Flow_ScreenScope) => unknown

Flow_Navigation.set_data: (key: string, value: unknown, opts?: Flow_ScreenScope) => unknown

Flow_Navigation.get_scroll_offset: (key: string, opts?: Flow_ScreenScope) => number

Flow_Navigation.on: (event: string, fn: (...args: any[]) => unknown) => (...args: any[]) => unknown

Flow_Navigation.off: (event: string, fn: (...args: any[]) => unknown) => void

Flow_Navigation._reset_for_tests: () => boolean

Flow_Navigation._router: () => LuaTable

Flow_MountOptions

Flow_MountOptions.debug: boolean

Flow_InitConfig

Flow_InitConfig.screens: LuaMap<string, Flow_ScreenDef> | Record<string, Flow_ScreenDef>

Flow_InitConfig.initial_screen: string

Flow_InitConfig.initial_params: LuaMap<string, unknown> | Record<string, unknown>

Flow_InitConfig.debug: boolean

Flow_InitConfig.on_update: (self: LuaTable, dt: number, nav: Flow_Navigation) => boolean

Flow_InitConfig.on_message: (self: LuaTable, message_id: Hash | string, message: LuaTable | undefined, sender: Url | undefined, nav: Flow_Navigation) => boolean

Flow_RuntimeConfig

Flow_RuntimeConfig.screens: LuaMap<string, Flow_ScreenDef> | Record<string, Flow_ScreenDef>

Flow_RuntimeConfig.initial_screen: string

Flow_RuntimeConfig.initial_params: LuaMap<string, unknown> | Record<string, unknown>

Flow_RuntimeConfig.initial_options: Flow_PushOptions | string

Flow_RuntimeConfig.enable_proxy_runtime: boolean

Flow_RuntimeConfig.proxy_options: Flow_ProxyAttachOptions

Flow_ProxyAttachOptions

Flow_ProxyAttachOptions.preload_message_id: Hash | string

Flow_ProxyAttachOptions.enable_message_id: Hash | string

Flow_ProxyAttachOptions.disable_message_id: Hash | string

Flow_ProxyAttachOptions.sync_existing: boolean

Flow_MarkdownOptions

Flow_MarkdownOptions.text: string

Flow_MarkdownOptions.key: string

Flow_MarkdownOptions.style: Flow_Style

Flow_MarkdownOptions.font: string

Flow_MarkdownOptions.scale: number | { x?: number; y?: number; z?: number }

Flow_MarkdownOptions._scrollbar: boolean

Flow_MarkdownOptions._bounce: boolean

Flow_MarkdownOptions._momentum: boolean

Flow_MarkdownOptions.auto_wrap: boolean

Flow_MarkdownOptions.wrap_width: number

Flow_MarkdownOptions.flatten_formatting: boolean

Flow_FlexNodeOptions

Flow_FlexNodeOptions.key: string

Flow_FlexNodeOptions.type: string

Flow_FlexNodeOptions.color: Flow_ColorValue

Flow_FlexNodeOptions.style: Flow_Style

Flow_FlexNodeOptions.children: Flow_Element[]

Flow_FlexNode

Flow_FlexNode.style: Flow_Style

Flow_FlexNode.children: Flow_FlexNode[]

Flow_FlexNode.measure: (...args: any[]) => unknown

Flow_InputDeps

Flow_InputDeps.registry: Flow_DefRegistry

Flow_InputDeps.get_window_size: (...args: any[]) => unknown

Flow_InputDeps.get_gui_size: (...args: any[]) => unknown

Flow_InputDeps.is_debug_enabled: (self: LuaTable) => boolean

Flow_AnimationDeps

Flow_AnimationDeps.registry: Flow_DefRegistry

Flow_AnimationDeps.request_redraw: (self: LuaTable) => void

Flow_RendererDeps

Flow_RendererDeps.registry: Flow_DefRegistry

Flow_RendererDeps.get_window_size: (...args: any[]) => unknown

Flow_RendererDeps.get_gui_size: (...args: any[]) => unknown

Flow_RendererDeps.layout: LuaTable

Flow_RendererDeps.set_node_color: (node: Opaque<"node">, r: number, g: number, b: number, a: number) => void

Flow_RendererDeps.set_node_position: (node: Opaque<"node">, x: number, y: number) => void

Flow_RendererDeps.set_node_size: (node: Opaque<"node">, w: number, h: number) => void

On this page

TypesFlow_StyleFlow_Style.width: number | stringFlow_Style.height: number | stringFlow_Style.min_width: numberFlow_Style.min_height: numberFlow_Style.max_width: numberFlow_Style.max_height: numberFlow_Style.flex_direction: "column" | "row"Flow_Style.flex_grow: numberFlow_Style.flex_shrink: numberFlow_Style.flex_basis: number | stringFlow_Style.align_items: "start" | "center" | "end" | "stretch"Flow_Style.align_self: "start" | "center" | "end" | "stretch" | "auto"Flow_Style.justify_content: "start" | "center" | "end" | "space-between" | "space-around" | "space-evenly"Flow_Style.gap: numberFlow_Style.padding: number | stringFlow_Style.padding_left: number | stringFlow_Style.padding_right: number | stringFlow_Style.padding_top: number | stringFlow_Style.padding_bottom: number | stringFlow_Style.margin: number | stringFlow_Style.margin_left: number | stringFlow_Style.margin_right: number | stringFlow_Style.margin_top: number | stringFlow_Style.margin_bottom: number | stringFlow_Style.border: number | stringFlow_Style.border_left: number | stringFlow_Style.border_right: number | stringFlow_Style.border_top: number | stringFlow_Style.border_bottom: number | stringFlow_Style.position_left: number | stringFlow_Style.position_right: number | stringFlow_Style.position_top: number | stringFlow_Style.position_bottom: number | stringFlow_Style.position_type: "static" | "relative" | "absolute"Flow_Style.flex_wrap: "no-wrap" | "wrap" | "wrap-reverse"Flow_Style.overflow: "visible" | "hidden" | "scroll"Flow_Style.display: "flex" | "none"Flow_Style.aspect_ratio: numberFlow_Style.direction: "inherit" | "ltr" | "rtl"Flow_ElementFlow_Element.key: stringFlow_Element.type: stringFlow_Element.style: Flow_StyleFlow_Element.children: Flow_Element[]Flow_Element.layout: Flow_LayoutRectFlow_Element.color: Flow_ColorValueFlow_Element.scale: number | { x?: number; y?: number; z?: number }Flow_Element.text: stringFlow_Element.align: "left" | "center" | "right"Flow_Element.font: stringFlow_Element.line_break: booleanFlow_Element.image: stringFlow_Element.texture: stringFlow_Element.scale_mode: "stretch" | "fit"Flow_Element.image_aspect: numberFlow_Element.border: number | { left?: number; top?: number; right?: number; bottom?: number }Flow_Element.pressed_color: Flow_ColorValueFlow_Element.on_click: (element: Flow_Element) => voidFlow_Element.backdrop_color: Flow_ColorValueFlow_Element.on_backdrop_click: (element: Flow_Element) => voidFlow_Element._visible: booleanFlow_Element._is_overlay: booleanFlow_Element._alpha: numberFlow_Element._offset_x: numberFlow_Element._offset_y: numberFlow_Element._offset_x_pixels: numberFlow_Element._offset_y_pixels: numberFlow_Element._pressed: booleanFlow_Element._hovered: booleanFlow_Element._open: booleanFlow_Element._anim_y: numberFlow_Element._anim_velocity: numberFlow_Element._on_anim_update: (anim_y: number, velocity: number) => voidFlow_Element._sheet_height: numberFlow_Element._scrollbar: booleanFlow_Element._bounce: booleanFlow_Element._momentum: booleanFlow_Element._virtual_height: numberFlow_Element._virtual_width: numberFlow_Element._scroll_y: numberFlow_Element._scroll_x: numberFlow_Element._momentum_active: booleanFlow_Element._bouncing: booleanFlow_Element._velocity: numberFlow_Element._dragging_axis: "x" | "y"Flow_Element._dragging: booleanFlow_Element._drag_start_y: numberFlow_Element._drag_start_x: numberFlow_Element._scroll_start_y: numberFlow_Element._scroll_start_x: numberFlow_Element._last_drag_y: numberFlow_Element._last_drag_x: numberFlow_Element._last_drag_time: numberFlow_Element._cache_key: stringFlow_Element._node_prefix: stringFlow_Element._background_screen: Flow_ElementFlow_Element._scroll_ancestor: Flow_ElementFlow_Element._needs_redraw: booleanFlow_Element._scroll_changed: booleanFlow_Element._clips_children: booleanFlow_Element._clipping_visible: booleanFlow_TextPropsFlow_TextProps.text: stringFlow_TextProps.align: "left" | "center" | "right"Flow_TextProps.font: stringFlow_TextProps.scale: number | { x?: number; y?: number; z?: number }Flow_TextProps.line_break: booleanFlow_ButtonPropsFlow_ButtonProps.pressed_color: Flow_ColorValueFlow_ButtonProps.on_click: (element: Flow_Element) => voidFlow_ButtonProps.image: stringFlow_ButtonProps.texture: stringFlow_ButtonProps.border: number | { left?: number; top?: number; right?: number; bottom?: number }Flow_ButtonImagePropsFlow_ButtonImageProps.image: stringFlow_IconPropsFlow_IconProps.image: stringFlow_IconProps.texture: stringFlow_IconProps.scale: number | { x?: number; y?: number; z?: number }Flow_IconProps.scale_mode: "stretch" | "fit"Flow_IconProps.image_aspect: numberFlow_ScrollPropsFlow_ScrollProps._scrollbar: booleanFlow_ScrollProps._bounce: booleanFlow_ScrollProps._momentum: booleanFlow_ScrollProps._virtual_height: numberFlow_ScrollProps._virtual_width: numberFlow_ScrollProps._scroll_y: numberFlow_ScrollProps._scroll_x: numberFlow_PopupPropsFlow_PopupProps.backdrop_color: Flow_ColorValueFlow_PopupProps.on_backdrop_click: (element: Flow_Element) => voidFlow_BottomSheetPropsFlow_BottomSheetProps.backdrop_color: Flow_ColorValueFlow_BottomSheetProps._open: booleanFlow_BottomSheetProps._anim_y: numberFlow_BottomSheetProps._anim_velocity: numberFlow_BottomSheetProps._on_anim_update: (anim_y: number, velocity: number) => voidFlow_BottomSheetProps.on_backdrop_click: (element: Flow_Element) => voidFlow_BottomSheetApiFlow_BottomSheetApi.dismiss: (result?: unknown) => booleanFlow_BottomSheetApi.invalidate: () => booleanFlow_BottomSheetSheetDefFlow_BottomSheetSheetDef.view: (params: LuaTable, api: Flow_BottomSheetApi) => Flow_ElementFlow_BottomSheetSheetDef.screens: LuaTable<string, Flow_ScreenDef>Flow_BottomSheetSheetDef.initial_screen: stringFlow_BottomSheetSheetDef.initial_params: LuaTable | ((params: LuaTable, api: Flow_BottomSheetApi) => LuaTable)Flow_BottomSheetSheetDef.backdrop_color: Flow_ColorValueFlow_BottomSheetSheetDef.dismiss_on_backdrop: booleanFlow_BottomSheetSheetDef.on_dismiss: (params: LuaTable, result: unknown, api: Flow_BottomSheetApi) => voidFlow_BottomSheetHostConfigFlow_BottomSheetHostConfig.id: stringFlow_BottomSheetHostConfig.sheet: Flow_BottomSheetSheetDefFlow_BottomSheetHostConfig.open_message_id: Hash | stringFlow_BottomSheetHostConfig.close_message_id: Hash | stringFlow_BottomSheetHostConfig.background_focus_url: UrlFlow_BottomSheetHostConfig.render_order: numberFlow_BottomSheetHostConfig.debug: booleanFlow_BottomSheetHostConfig.on_update: (self: LuaTable, dt: number, api: Flow_BottomSheetApi) => boolean | undefinedFlow_BottomSheetHostConfig.on_message: (self: LuaTable, message_id: Hash | string, message: LuaTable | undefined, sender: Url | undefined, api: Flow_BottomSheetApi) => boolean | undefinedFlow_LayoutRectFlow_LayoutRect.x: numberFlow_LayoutRect.y: numberFlow_LayoutRect.w: numberFlow_LayoutRect.h: numberFlow_LoggerFlow_Logger.levels: LuaTable<string, number>Flow_Logger.get_level: () => Flow_LogLevelFlow_Logger.set_level: (level: Flow_LogLevel | number) => Flow_LogLevelFlow_Logger.get_context_level: (context: string) => Flow_LogLevel | undefinedFlow_Logger.set_context_level: (context: string, level: Flow_LogLevel | number) => Flow_LogLevelFlow_Logger.clear_context_level: (context: string) => booleanFlow_Logger.none: (context?: string) => Flow_LogLevelFlow_Logger.is_enabled: (level: Flow_LogLevel | number, context?: string) => booleanFlow_Logger.set_sink: (fn?: (entry: LuaTable) => void) => booleanFlow_Logger.debug: (context: string, ...args: unknown[]) => booleanFlow_Logger.info: (context: string, ...args: unknown[]) => booleanFlow_Logger.warn: (context: string, ...args: unknown[]) => booleanFlow_Logger.error: (context: string, ...args: unknown[]) => booleanFlow_Logger._reset_for_tests: () => booleanFlow_TransitionMetaFlow_TransitionMeta.action: stringFlow_TransitionMeta.type: "fade" | "slide_left" | "slide_right" | "none"Flow_TransitionMeta.duration: numberFlow_TransitionMeta.from_id: stringFlow_TransitionMeta.to_id: stringFlow_ScreenDefFlow_ScreenDef.view: (params: LuaTable, navigation: Flow_Navigation) => Flow_Element | undefinedFlow_ScreenDef.url: UrlFlow_ScreenDef.focus_url: UrlFlow_ScreenDef.proxy_url: UrlFlow_ScreenDef.preload: booleanFlow_ScreenDef.transition: "fade" | "slide_left" | "slide_right" | "none"Flow_ScreenDef.meta: unknownFlow_ScreenDef.on_enter: (params: LuaTable, navigation: Flow_Navigation) => voidFlow_ScreenDef.on_exit: (params: LuaTable, navigation: Flow_Navigation) => voidFlow_ScreenDef.on_pause: (params: LuaTable, navigation: Flow_Navigation) => voidFlow_ScreenDef.on_resume: (params: LuaTable, navigation: Flow_Navigation) => voidFlow_RegisteredScreenFlow_RegisteredScreen.id: stringFlow_RegisteredScreen._source: Flow_ScreenDefFlow_PushOptionsFlow_PushOptions.transition: "fade" | "slide_left" | "slide_right" | "none"Flow_PushOptions.duration: numberFlow_PushOptions.on_result: (result: unknown) => voidFlow_PushOptions.result_url: UrlFlow_PushOptions.result_message_id: Hash | stringFlow_StackEntryFlow_StackEntry.id: stringFlow_StackEntry.params: LuaTableFlow_StackEntry.screen: Flow_RegisteredScreenFlow_StackEntry.on_result: (result: unknown) => voidFlow_StackEntry.result_url: UrlFlow_StackEntry.result_message_id: Hash | stringFlow_ScreenScopeFlow_ScreenScope.screen_id: stringFlow_NavigationFlow_Navigation.register: (id: string, screen_def: Flow_ScreenDef) => Flow_RegisteredScreenFlow_Navigation.get_screen: (id: string) => Flow_RegisteredScreen | undefinedFlow_Navigation.push: (id: string, params?: LuaMap<string, unknown> | Record<string, unknown>, options?: Flow_PushOptions) => Flow_StackEntry | undefinedFlow_Navigation.pop: (result?: unknown, options?: Flow_PushOptions | string) => Flow_StackEntry | undefinedFlow_Navigation.replace: (id: string, params?: LuaMap<string, unknown> | Record<string, unknown>, options?: Flow_PushOptions) => Flow_StackEntry | undefinedFlow_Navigation.reset: (id: string, params?: LuaMap<string, unknown> | Record<string, unknown>, options?: Flow_PushOptions | string) => Flow_StackEntry | undefinedFlow_Navigation.back: (result?: unknown, options?: Flow_PushOptions | string) => Flow_StackEntry | undefinedFlow_Navigation.current: () => Flow_StackEntry | undefinedFlow_Navigation.peek: (offset?: number) => Flow_StackEntry | undefinedFlow_Navigation.stack_depth: () => numberFlow_Navigation.invalidate: () => voidFlow_Navigation.is_invalidated: () => booleanFlow_Navigation.clear_invalidation: () => voidFlow_Navigation.is_busy: () => booleanFlow_Navigation.get_transition: () => Flow_TransitionMeta | undefinedFlow_Navigation.begin_transition: (meta: Flow_TransitionMeta) => Flow_TransitionMetaFlow_Navigation.complete_transition: () => booleanFlow_Navigation.get_data: (key_or_opts?: string | Flow_ScreenScope, opts?: Flow_ScreenScope) => unknownFlow_Navigation.set_data: (key: string, value: unknown, opts?: Flow_ScreenScope) => unknownFlow_Navigation.get_scroll_offset: (key: string, opts?: Flow_ScreenScope) => numberFlow_Navigation.on: (event: string, fn: (...args: any[]) => unknown) => (...args: any[]) => unknownFlow_Navigation.off: (event: string, fn: (...args: any[]) => unknown) => voidFlow_Navigation._reset_for_tests: () => booleanFlow_Navigation._router: () => LuaTableFlow_MountOptionsFlow_MountOptions.debug: booleanFlow_InitConfigFlow_InitConfig.screens: LuaMap<string, Flow_ScreenDef> | Record<string, Flow_ScreenDef>Flow_InitConfig.initial_screen: stringFlow_InitConfig.initial_params: LuaMap<string, unknown> | Record<string, unknown>Flow_InitConfig.debug: booleanFlow_InitConfig.on_update: (self: LuaTable, dt: number, nav: Flow_Navigation) => booleanFlow_InitConfig.on_message: (self: LuaTable, message_id: Hash | string, message: LuaTable | undefined, sender: Url | undefined, nav: Flow_Navigation) => booleanFlow_RuntimeConfigFlow_RuntimeConfig.screens: LuaMap<string, Flow_ScreenDef> | Record<string, Flow_ScreenDef>Flow_RuntimeConfig.initial_screen: stringFlow_RuntimeConfig.initial_params: LuaMap<string, unknown> | Record<string, unknown>Flow_RuntimeConfig.initial_options: Flow_PushOptions | stringFlow_RuntimeConfig.enable_proxy_runtime: booleanFlow_RuntimeConfig.proxy_options: Flow_ProxyAttachOptionsFlow_ProxyAttachOptionsFlow_ProxyAttachOptions.preload_message_id: Hash | stringFlow_ProxyAttachOptions.enable_message_id: Hash | stringFlow_ProxyAttachOptions.disable_message_id: Hash | stringFlow_ProxyAttachOptions.sync_existing: booleanFlow_MarkdownOptionsFlow_MarkdownOptions.text: stringFlow_MarkdownOptions.key: stringFlow_MarkdownOptions.style: Flow_StyleFlow_MarkdownOptions.font: stringFlow_MarkdownOptions.scale: number | { x?: number; y?: number; z?: number }Flow_MarkdownOptions._scrollbar: booleanFlow_MarkdownOptions._bounce: booleanFlow_MarkdownOptions._momentum: booleanFlow_MarkdownOptions.auto_wrap: booleanFlow_MarkdownOptions.wrap_width: numberFlow_MarkdownOptions.flatten_formatting: booleanFlow_FlexNodeOptionsFlow_FlexNodeOptions.key: stringFlow_FlexNodeOptions.type: stringFlow_FlexNodeOptions.color: Flow_ColorValueFlow_FlexNodeOptions.style: Flow_StyleFlow_FlexNodeOptions.children: Flow_Element[]Flow_FlexNodeFlow_FlexNode.style: Flow_StyleFlow_FlexNode.children: Flow_FlexNode[]Flow_FlexNode.measure: (...args: any[]) => unknownFlow_InputDepsFlow_InputDeps.registry: Flow_DefRegistryFlow_InputDeps.get_window_size: (...args: any[]) => unknownFlow_InputDeps.get_gui_size: (...args: any[]) => unknownFlow_InputDeps.is_debug_enabled: (self: LuaTable) => booleanFlow_AnimationDepsFlow_AnimationDeps.registry: Flow_DefRegistryFlow_AnimationDeps.request_redraw: (self: LuaTable) => voidFlow_RendererDepsFlow_RendererDeps.registry: Flow_DefRegistryFlow_RendererDeps.get_window_size: (...args: any[]) => unknownFlow_RendererDeps.get_gui_size: (...args: any[]) => unknownFlow_RendererDeps.layout: LuaTableFlow_RendererDeps.set_node_color: (node: Opaque<"node">, r: number, g: number, b: number, a: number) => voidFlow_RendererDeps.set_node_position: (node: Opaque<"node">, x: number, y: number) => voidFlow_RendererDeps.set_node_size: (node: Opaque<"node">, w: number, h: number) => void