import type { TwmCondition } from "./TwmCondition.js"; import type { TwmNodeKind } from "./TwmNodeKind.js"; import type { TwmNodeLifetime } from "./TwmNodeLifetime.js"; import type { TwmStackPolicy } from "./TwmStackPolicy.js"; export type TwmPluginNode = { /** * Type determines the behavior of the node */ kind: TwmNodeKind; /** * Lifetime of the node */ lifetime: TwmNodeLifetime; /** * 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; /** * Condition for the node to be enabled */ condition: TwmCondition | null; /** * 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; /** * When to add new windows to the stack */ stackPolicy: TwmStackPolicy; }; //# sourceMappingURL=TwmPluginNode.d.ts.map