import { CookieOptions } from './interfaces.js'; export declare function getCookieOptions(): CookieOptions; export declare function getCookieOptions(redirectUri?: string | null): CookieOptions; export declare function getCookieOptions(redirectUri: string | null | undefined, asString: true, expired?: boolean): string; export declare function getCookieOptions(redirectUri: string | null | undefined, asString: false, expired?: boolean): CookieOptions; export declare function getCookieOptions(redirectUri?: string | null, asString?: boolean, expired?: boolean): CookieOptions | string; /** * Cookie options for the PKCE verifier cookie. * 'strict' blocks the cookie on the cross-site redirect back from WorkOS; downgrade to 'lax'. * 'none' is more permissive and must be preserved for iframe/cross-origin embed flows. * Max-age is always capped to 10 minutes — PKCE cookies are single-use and short-lived. */ export declare function getPKCECookieOptions(): CookieOptions; export declare function getPKCECookieOptions(redirectUri: string | null | undefined, asString: true, expired?: boolean): string; export declare function getPKCECookieOptions(redirectUri?: string | null, asString?: boolean, expired?: boolean): CookieOptions | string; export declare function getJwtCookie(body: string | null, requestUrlOrRedirectUri?: string | null, expired?: boolean): string;