/** * NonPositive integer branded newtype string. * * Represents integer strings which are negative or zero. * * ```math * { z | z ∈ ℤ, z >= -2 ** 53 + 1, z <= 0 } * ``` * * @since 0.0.4 */ import { Kind, Kind2, URIS, URIS2, HKT2 } from 'fp-ts/HKT'; import * as D from 'io-ts/Decoder'; import * as Enc from 'io-ts/Encoder'; import * as Eq_ from 'fp-ts/Eq'; import * as G from 'io-ts/Guard'; import * as TD from 'io-ts/TaskDecoder'; import * as t from 'io-ts/Type'; import * as Arb from '../internal/ArbitraryBase'; import * as NonPositiveInt from '../number/NonPositiveInt'; /** * NonPositive integer branded newtype string. * * Represents integer strings which are negative or zero. * * ```math * { z | z ∈ ℤ, z >= -2 ** 53 + 1, z <= 0 } * ``` * * @since 0.0.4 * @category Model */ export declare type NonPositiveIntString = string & NonPositiveIntStringBrand; /** * @since 0.0.4 * @category Model */ export declare type SchemableParams = HKT2; /** * @since 0.0.4 * @category Model */ export declare type SchemableParams1 = Kind; /** * @since 0.0.4 * @category Model */ export declare type SchemableParams2 = Kind2; /** * @since 0.0.4 * @category Model */ export declare type SchemableParams2C = Kind2; /** * @since 0.0.4 * @category Refinements */ export declare const isNonPositiveIntString: (s: string) => s is NonPositiveIntString; /** * @since 0.0.4 * @category Instances */ export declare const Decoder: SchemableParams2C; /** * @since 0.0.4 * @category Instances */ export declare const Encoder: SchemableParams2; /** * @since 0.0.4 * @category Instances */ export declare const Eq: SchemableParams1; /** * @since 0.0.4 * @category Instances */ export declare const Guard: SchemableParams1; /** * @since 0.0.4 * @category Instances */ export declare const TaskDecoder: SchemableParams2C; /** * @since 0.0.4 * @category Instances */ export declare const Type: SchemableParams1; /** * @since 0.0.4 * @category Instances */ export declare const Arbitrary: SchemableParams1; /** * @since 0.0.4 * @category Utilities */ export declare const toNonPositiveInt: (s: NonPositiveIntString) => NonPositiveInt.NonPositiveInt; //# sourceMappingURL=NonPositiveIntString.d.ts.map