import type Cursor from '../helpers/Cursor'; import type { Registry } from './Registry'; import type { Schema } from './Schema'; export type ParsedValue = number | string | boolean | Record; export type SchemaNode = Schema | Record | ((cursor: Cursor, registry: Partial) => ParsedValue);