UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

16 lines (15 loc) 610 B
import type { TName } from '../base/TBase.js'; import { TString, type TStringConstraints } from '../base/TString.js'; import type { JSONSchemaType } from '../targets/json-schema.js'; import type { RNInputMode } from '../targets/rn.js'; import type { HTMLInputType } from '../targets/web.js'; export type Email = string; export declare class TEmail extends TString<Email> { static readonly FORMAT: RegExp; constructor(constraints?: TStringConstraints); tName(): TName; example(): Email; htmlInputType(): HTMLInputType; jsonSchemaType(): JSONSchemaType; rnInputMode(): RNInputMode; }