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