import type { USER_AGENT_TOKEN } from '@tramvai/module-client-hints'; import type { CookieOptions } from './tokens'; export declare const calculateExpires: (expires?: number | string | Date) => Date | undefined; export declare const trimSubdomains: (host: string) => string; type PrepareOptions = { userAgent: typeof USER_AGENT_TOKEN; defaultHost: string; secureProtocol: boolean; }; export declare const prepareCookieOptions: ({ userAgent: { sameSiteNoneCompatible }, defaultHost, secureProtocol }: PrepareOptions, { sameSite, noSubdomains, ...options }: CookieOptions) => { expires: Date | undefined; domain: string | undefined; secure?: boolean | undefined; sameSite?: boolean | "lax" | "strict" | "none" | undefined; path?: string | undefined; httpOnly?: boolean | undefined; }; export {}; //# sourceMappingURL=utils.d.ts.map