import type { TSchema, SchemaOptions } from '../schema/index'; import { type TLiteral } from '../literal/index'; import { Kind, Hint } from '../symbols/index'; export type TEnumRecord = Record; export type TEnumValue = string | number; export type TEnumKey = string; export interface TEnum = Record> extends TSchema { [Kind]: 'Union'; [Hint]: 'Enum'; static: T[keyof T]; anyOf: TLiteral[]; } /** `[Json]` Creates a Enum type */ export declare function Enum>(item: T, options?: SchemaOptions): TEnum;