//#region src/lib/cookie.d.ts type SetCookieOptions = { maxAge: number | "session"; noOpIfServerComponent?: boolean; domain?: string; secure?: boolean; }; type DeleteCookieOptions = { noOpIfServerComponent?: boolean; domain?: string; }; type CookieHelper = { /** * Stable for the browser or server request that owns this helper. Consumers use this to share request-local state * even when multiple helper wrappers are created for the same underlying cookie store. */ readonly identity: object; get: (name: string) => string | null; getAll: () => Record; set: (name: string, value: string, options: SetCookieOptions) => void; setOrDelete: (name: string, value: string | null, options: SetCookieOptions & DeleteCookieOptions) => void; delete: (name: string, options: DeleteCookieOptions) => void; }; declare function createPlaceholderCookieHelper(): Promise; declare function createCookieHelper(): Promise; declare function createCookieHelperSync(): CookieHelper; declare function createBrowserCookieHelper(): CookieHelper; declare function getCookieClient(name: string): string | null; declare function getAllCookiesClient(): Record; declare function getCookie(name: string): Promise; declare function isSecure(): Promise; declare function setOrDeleteCookieClient(name: string, value: string | null, options: SetCookieOptions & DeleteCookieOptions): void; declare function setOrDeleteCookie(name: string, value: string | null, options: SetCookieOptions & DeleteCookieOptions): Promise; declare function deleteCookieClient(name: string, options: DeleteCookieOptions): void; declare function deleteCookie(name: string, options: DeleteCookieOptions): Promise; declare function setCookieClient(name: string, value: string, options: SetCookieOptions): void; declare function setCookie(name: string, value: string, options: SetCookieOptions): Promise; declare function saveVerifierAndState(): Promise<{ codeChallenge: string; state: string; }>; declare function consumeVerifierAndStateCookie(state: string): { codeVerifier: string; } | null; //#endregion export { setOrDeleteCookieClient as _, createCookieHelperSync as a, deleteCookieClient as c, getCookieClient as d, isSecure as f, setOrDeleteCookie as g, setCookieClient as h, createCookieHelper as i, getAllCookiesClient as l, setCookie as m, consumeVerifierAndStateCookie as n, createPlaceholderCookieHelper as o, saveVerifierAndState as p, createBrowserCookieHelper as r, deleteCookie as s, CookieHelper as t, getCookie as u }; //# sourceMappingURL=cookie-DwI1VmzU.d.ts.map