type alias Visitorimport { type Visitor } from "https://deno.land/x/live@1.96.6/engine/schema/utils.ts"; Type ParametersT extends TypedElementoptionalTResult = voiddefinition: [K in T["type"]]?: (t: Extract<T, { type: K; }>) => TResult | void