import { RequestParameter } from '../transport/types.js'; /** * Serializer for HTTP cookies. * Converts cookie parameters into a cookie object for requests. */ export declare class CookieSerializer { /** * Serializes cookie parameters into a cookie object. * @param cookieParams - Map of cookie names to their parameter values * @returns A record of cookie names to serialized values, or undefined if no cookies */ serialize(cookieParams: Map | undefined): Record | undefined; /** * Serializes a single cookie value based on its type. * @param param - The cookie parameter to serialize * @returns The serialized cookie value string */ private serializeCookieValue; /** * Serializes a primitive cookie value. * @param value - The primitive value to serialize * @returns The string representation of the value */ private serializePrimitive; /** * Serializes an array cookie value. * @param value - The array to serialize * @param param - The cookie parameter configuration * @returns The serialized array string */ private serializeArray; /** * Serializes an object cookie value as JSON. * @param obj - The object to serialize * @param param - The cookie parameter configuration * @returns The JSON string representation of the object */ private serializeObject; /** * Type guard to check if a value is a non-null object. * @param value - The value to check * @returns True if the value is an object and not null */ private isNonNullObject; } //# sourceMappingURL=cookie-serializer.d.ts.map