import { type InputOf, type OutputOf, type Type } from "./type"; /** * A number type to be used with `option` * * Throws an error when the provided string is not a number */ export declare const number: Type; /** * A string type to be used with `option`. */ export declare const string: Type; /** * A boolean type to be used with `flag`. */ export declare const boolean: Type; /** * Makes any type optional, by defaulting to `undefined`. */ export declare function optional>(t: T): Type, OutputOf | undefined>; /** * Transforms any type into an array, useful for `multioption` and `multiflag`. */ export declare function array>(t: T): Type[], OutputOf[]>;