import { AbstractType } from "./AbstractType"; import { Req, scalar } from "@huz-com/types"; import { StringTypeOption } from "./index.interfaces"; declare type T = scalar.String; declare type O = StringTypeOption; export declare class StringType extends AbstractType { protected static _ins: StringType; /** * Returns skeleton instance * */ static ins(): StringType; constructor(); /** * Checks is string? */ is(value: scalar.Unknown, opt?: O, req?: Req): boolean; /** * Converts a value to string */ cast(value: scalar.Unknown, opt?: O, req?: Req): T | null; } export {};