import type { ObjectOf } from "../Types"; import Cookie from "../Foundation/Http/Cookie"; declare class CookieJar { protected _queued: ObjectOf>; /** * Create new Cookie instance */ make(name: string, value: any, minutes?: number, path?: string, domain?: string | undefined | null, secure?: boolean, httpOnly?: boolean, raw?: boolean, sameSite?: "lax" | "strict" | "none" | undefined | null): Cookie; /** * Queue a cookie to send with the next response. */ queue(...params: any[]): void; /** * Get the cookies which have been queued for the next request. */ getQueuedCookies(): Cookie[]; /** * Flush the cookies which have been queued for the next request. */ flushQueuedCookies(): this; /** * Expire the given cookie. */ forget(name: string, path?: string, domain?: string | undefined | null): Cookie; } export default CookieJar;