import type { ReadStream, WriteStream } from "../../../util.js"; import type { InputTypes } from "../../models/inputs/inputTypes"; /** * The minimum length of an input binary representation. */ export declare const MIN_INPUT_LENGTH: number; /** * The minimum number of inputs. */ export declare const MIN_INPUT_COUNT: number; /** * The maximum number of inputs. */ export declare const MAX_INPUT_COUNT: number; /** * Deserialize the inputs from binary. * @param readStream The stream to read the data from. * @returns The deserialized object. */ export declare function deserializeInputs(readStream: ReadStream): InputTypes[]; /** * Serialize the inputs to binary. * @param writeStream The stream to write the data to. * @param objects The objects to serialize. */ export declare function serializeInputs(writeStream: WriteStream, objects: InputTypes[]): void; /** * Deserialize the input from binary. * @param readStream The stream to read the data from. * @returns The deserialized object. */ export declare function deserializeInput(readStream: ReadStream): InputTypes; /** * Serialize the input to binary. * @param writeStream The stream to write the data to. * @param object The object to serialize. */ export declare function serializeInput(writeStream: WriteStream, object: InputTypes): void;