declare type BrowserCookieOptions = { /** * The number of days until the cookie expires. */ expires?: number; /** * The path for which the cookie is valid. */ path?: string; /** * The domain for which the cookie is valid. */ domain?: string; /** * Indicates whether the cookie should only be sent over secure (HTTPS) connections. */ secure?: boolean; /** * The SameSite attribute of the cookie. Values can be 'Strict', 'Lax', or 'None'. */ sameSite?: "Strict" | "Lax" | "None"; /** * Indicates whether the cookie is accessible only via HTTP and not JavaScript. */ httpOnly?: boolean; }; /** * A utility for working with browser cookies. */ export declare const browserCookie: { /** * Delete a browser cookie by name. * @param {string} name - The name of the cookie to delete. */ deleteCookie(name: string): void; /** * Get the value of a browser cookie by name. * @param {string} name - The name of the cookie to retrieve. * @returns {string|null} The value of the cookie, or null if the cookie doesn't exist. */ getCookie(name: string): string | null; /** * Set a browser cookie with the given name, value, and options. * @param {string} name - The name of the cookie. * @param {string} value - The value to store in the cookie. * @param {BrowserCookieOptions} [options] - Options for configuring the cookie. */ setCookie(name: string, value: string, options?: BrowserCookieOptions): void; }; /** * A utility for parsing server-side cookies from a raw cookie string. */ export declare const serverCookie: { /** * Parse server-side cookies from a raw cookie string. * @param {string} rawCookies - The raw cookie string received from the server. * @returns {{ [key: string]: string }|null} An object containing parsed cookies, or null if no cookies were provided. */ parseCookies(rawCookies: string): { [key: string]: string; } | null; }; export {};