import type { WmNodeKind } from "./WmNodeKind.js"; import type { WmNodeLifetime } from "./WmNodeLifetime.js"; export type WmNode = { /** * Type determines the behavior of the node */ type: WmNodeKind; /** * Lifetime of the node */ lifetime: WmNodeLifetime; /** * Order in how the tree will be traversed (1 = first, 2 = second, etc.) */ priority: number; /** * How much of the remaining space this node will take */ growFactor: number; /** * Math Condition for the node to be shown, e.g: n >= 3 */ condition: string | null; /** * Active window handle (HWND) in the node. */ active: number | null; /** * Window handles (HWND) in the node. */ windows: Array; /** * Child nodes, this field is ignored for leaf and stack nodes. */ children: Array; /** * Max amount of windows in the stack. Set it to `null` for unlimited stack.\ * This field is ignored for non-stack nodes */ maxStackSize: number | null; }; //# sourceMappingURL=WmNode.d.ts.map