import { DataStream } from './DataStream'; export type Int8 = number; export type SByte = number; export type Int16 = number; export type Int32 = number; export type Int64 = [number, number]; export type UInt8 = number; export type Byte = number; export type UInt16 = number; export type UInt32 = number; export type UInt64 = [number, number]; export declare function isValidUInt16(value: any): boolean; export declare function randomUInt16(): number; export declare function encodeUInt16(value: number, stream: DataStream): void; export declare function decodeUInt16(stream: DataStream): number; export declare function isValidInt16(value: any): boolean; export declare function randomInt16(): number; export declare function encodeInt16(value: number, stream: DataStream): void; export declare function decodeInt16(stream: DataStream): number; export declare function isValidInt32(value: any): boolean; export declare function randomInt32(): number; export declare function encodeInt32(value: number, stream: DataStream): void; export declare function decodeInt32(stream: DataStream): number; export declare function isValidUInt32(value: any): boolean; export declare function randomUInt32(): number; export declare function encodeUInt32(value: number, stream: DataStream): void; export declare function decodeUInt32(stream: DataStream): number; export declare function isValidInt8(value: any): boolean; export declare function randomInt8(): number; export declare function encodeInt8(value: number, stream: DataStream): void; export declare function decodeInt8(stream: DataStream): number; export declare const isValidSByte: typeof isValidInt8; export declare const randomSByte: typeof randomInt8; export declare const encodeSByte: typeof encodeInt8; export declare const decodeSByte: typeof decodeInt8; export declare function isValidUInt8(value: any): boolean; export declare function randomUInt8(): number; export declare function encodeUInt8(value: number, stream: DataStream): void; export declare function decodeUInt8(stream: DataStream): number; export declare const isValidByte: typeof isValidUInt8; export declare const randomByte: typeof randomUInt8; export declare const encodeByte: typeof encodeUInt8; export declare const decodeByte: typeof decodeUInt8; export declare function isValidUInt64(value: any): boolean; export declare function randomUInt64(): Array; export declare function encodeUInt64(value: UInt64 | number, stream: DataStream): void; export declare function decodeUInt64(stream: DataStream): UInt64; export declare function constructInt64(high: number, low: number): UInt64; export declare function coerceUInt64(value: number | UInt64 | Int32 | string | null): UInt64; export declare function randomInt64(): number[]; export declare function coerceInt8(value?: number | string | null): number; export declare function coerceUInt8(value?: number | string | null): number; export declare function coerceByte(value?: number | string | null): number; export declare function coerceSByte(value?: number | string | null): number; export declare function coerceUInt16(value?: number | string | null): number; export declare function coerceInt16(value?: number | string | null): number; export declare function coerceUInt32(value?: number | string | null): number; export declare function coerceInt32(value: null | Int64 | UInt64 | number | string): number; export declare function Int64ToBigInt(value: Int64): bigint; export declare function UInt64ToBigInt(value: UInt64): bigint; export declare function coerceInt64toInt32(value: Int64 | Int32): Int32; export declare function coerceUInt64toInt32(value: UInt64 | UInt32): Int32; //# sourceMappingURL=integers.d.ts.map