import type { DoNode } from '../../builtin/specialExpressions/block'; import { NodeTypes } from '../../constants/constants'; import type { AstNode } from '../types'; import type { ParserContext } from '../ParserContext'; /** * WithHandlerNode: ["WithHandler", [handlerExpr, bodyExprs], nodeId] * - handlerExpr: expression evaluating to a HandlerFunction * - bodyExprs: remaining expressions in the block (handler is active for these) */ export type WithHandlerNode = [typeof NodeTypes.WithHandler, [AstNode, AstNode[]], number]; export declare function parseDo(ctx: ParserContext): DoNode;