export declare function cookieParse(cookie?: string, filterNilValue?: boolean): Record; export declare function cookieStringfiy(cookieObj: Record, options?: { removeKeys?: (string | RegExp)[]; onlyKeys?: (string | RegExp)[]; removeNil?: boolean; }): string; /** * 将 cookie 设置到浏览器 * @param name - cookie 名称 * @param value - cookie 值 * @param options - cookie 选项 */ export declare function setCookie(name: string, value: string, options?: { expires?: number | Date; path?: string; domain?: string; secure?: boolean; sameSite?: 'lax' | 'strict' | 'none'; }): boolean;