export interface Cookies { [key: string]: string; } export interface CookieOptions { domain?: string; path?: string; expires?: number | string | Date; 'max-age'?: number; secure?: boolean; samesite?: string; } export declare type CookieDecoder = (value: string) => T; export declare type CookieEncoder = (value: T) => string;