import type { ByteBufferType } from './structures'; type Argument = Record | Array | Date | Uint8Array | SerializedArgument; type SerializedArgument = string | number | null | ByteBufferType; export type SerializedOptions = Required<{ [Property in keyof Type]: Type[Property] extends string ? string : Type[Property] extends number ? number : Type[Property] extends Record ? string : Type[Property] extends string | Record ? string : Type[Property] extends Array ? string : Type[Property] extends Array | undefined ? string : Type[Property] extends Record | undefined ? string : Type[Property] extends Date ? number : Type[Property] extends Date | undefined ? number : Type[Property] extends string | undefined ? string : Type[Property] extends number | undefined ? number : Type[Property] extends Uint8Array ? ByteBufferType : unknown; }>; declare const serializeArguments: = Record>(args: T) => SerializedOptions; export { serializeArguments };