UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

16 lines (15 loc) 630 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 DomainName = string; export declare class TDomainName extends TString<DomainName> { static readonly FORMAT: RegExp; constructor(constraints?: TStringConstraints); tName(): TName; example(): DomainName; htmlInputType(): HTMLInputType; jsonSchemaType(): JSONSchemaType; rnInputMode(): RNInputMode; }