import { InstanceOf, Literal, Never, Number as Num, Object as Obj, Runtype, Static, String as Str } from "funtypes"; declare const positive: import("funtypes").Constraint; export type Positive = Static; export declare const Positive: typeof positive; declare const negative: import("funtypes").Constraint; export type Negative = Static; export declare const Negative: typeof negative; declare const nonNegative: import("funtypes").Constraint; export type NonNegative = Static; export declare const NonNegative: typeof nonNegative; declare const nonPositive: import("funtypes").Constraint; export type NonPositive = Static; export declare const NonPositive: typeof nonPositive; export declare const integer: import("funtypes").Constraint; export type Integer = Static; export declare const Integer: typeof integer; declare const positiveInteger: import("funtypes").Intersect<[import("funtypes").Constraint, import("funtypes").Constraint]>; export type PositiveInteger = Static; export declare const PositiveInteger: typeof positiveInteger; declare const negativeInteger: import("funtypes").Intersect<[import("funtypes").Constraint, import("funtypes").Constraint]>; export type NegativeInteger = Static; export declare const NegativeInteger: typeof negativeInteger; declare const nonPositiveInteger: import("funtypes").Intersect<[import("funtypes").Constraint, import("funtypes").Constraint]>; export type NonPositiveInteger = Static; export declare const NonPositiveInteger: typeof nonPositiveInteger; declare const nonNegativeInteger: import("funtypes").Intersect<[import("funtypes").Constraint, import("funtypes").Constraint]>; export type NonNegativeInteger = Static; export declare const NonNegativeInteger: typeof nonNegativeInteger; declare const uint: import("funtypes").Union<[import("funtypes").Intersect<[import("funtypes").Constraint, import("funtypes").Constraint]>, Never]>; export type Uint = Static; export declare const Uint: typeof uint; declare const uint32: import("funtypes").Constraint; export type Uint32 = Static; export declare const Uint32: typeof uint32; declare const uint16: import("funtypes").Constraint; export type Uint16 = Static; export declare const Uint16: typeof uint16; declare const uint8: import("funtypes").Constraint; export type Uint8 = Static; export declare const Uint8: typeof uint8; declare function boundedUintBase(max: T): import("funtypes").Constraint, import("funtypes").Constraint]>, Never]>, number, unknown> & { max: T; }; export type BoundedUint = Static & { max: T; }; declare const boundedUint: typeof boundedUintBase; export declare const BoundedUint: typeof boundedUint; declare function boundedStringBase(regex: T): import("funtypes").Constraint & { regex: T; }; export type BoundedString = Static & { regex: T; }; declare const boundedString: typeof boundedStringBase; export declare const BoundedString: typeof boundedString; export declare function assertType>(rt: T, value: unknown): asserts value is Static; export declare function checkType>(rt: T, value: unknown): Static; type Ternary = T extends undefined ? V : unknown extends T ? V : U; declare function byteArrayBase(length?: T): Ternary, Obj<{ length: Literal; }, false>]>, InstanceOf>; export type ByteArray = Uint8Array & (T extends undefined ? unknown : { length: T; }); declare const byteArray: typeof byteArrayBase & { equal(lhs: ByteArray, rhs: ByteArray): boolean; }; export declare const ByteArray: typeof byteArray; declare function bigEndianIntegerBase(length?: T): Ternary, Obj<{ length: Literal; }, false>]>, InstanceOf>; export type BigEndianInteger = ByteArray; declare const bigEndianInteger: typeof bigEndianIntegerBase & typeof byteArrayBase & { equal(lhs: ByteArray, rhs: ByteArray): boolean; } & { isHigh: (x: BigEndianInteger) => boolean; isOdd: (x: BigEndianInteger) => boolean; }; export declare const BigEndianInteger: typeof bigEndianInteger; export declare function safeBufferFrom(input: ByteArray): Buffer & ByteArray; export {}; //# sourceMappingURL=types.d.ts.map