import Node from "./Node.js";

declare class StackNode extends Node {
    isStackNode: true;
    nodes: Node[];
    outputNode: Node | null;

    constructor();

    If(boolNode: Node, method: () => void): this;

    ElseIf(boolNode: Node, method: () => void): this;

    Else(method: () => void): this;

    Switch(expression: Node): this;

    Case(...params: [...Node[], () => void]): this;

    Default(method: () => void): this;
}

export default StackNode;

export const stack: () => StackNode;
