import type { StandardSchemaV1 } from "@tsimpl/validation"; export type StructDescriptor = { name: string; symbol: symbol; schema: StandardSchemaV1; }; export type StructToken = StructDescriptor & StandardSchemaV1 & { [Symbol.toPrimitive](): symbol; from(value: TInput, options?: { slot?: boolean; validate?: boolean; }): TSelf; has(value: unknown): value is TSelf; } & symbol;