import { CharacterArg, TextType } from '..' import { AnyExpression, Expression } from '../../expressions' import { ConstraintConfig } from '../../functions' import { Type, type } from '../index' export const UUID = () => type`UUID` as UUIDType export type UUIDArg = UUIDType['argument'] export interface UUIDType extends Type<'UUID', R> { expression: UUIDExpression argument: Expression | this['input'] required(conf?: ConstraintConfig): UUIDType } export interface UUIDExpression extends AnyExpression> { concat(arg: CharacterArg): Expression> }