import type { ThereforeSchema } from '../primitives/types.js'; import type { Node } from './node.js'; export type ThereforeVisitor = { default: (node: Cst, context: C) => R; } & { [K in Cst['_type']]?: (node: Extract, context: C) => R; }; export declare function walkTherefore(obj: Node, visitor: ThereforeVisitor, context: C): R; export declare function walkTherefore(obj: Node, visitor: ThereforeVisitor): R; export declare function walkTherefore R; }, R = U>(obj: Node, visitor: ThereforeVisitor, context: C): R;