/** * Cookie Name Utilities * * Provides consistent cookie name generation using the configured prefix. * All cookie names are prefixed to avoid conflicts with other cookies. */ import { NAuthConfig } from '../interfaces/config.interface'; /** * Get the cookie name prefix from config * @param config - NAuth configuration * @returns Cookie name prefix (default: 'nauth_') */ export declare function getCookieNamePrefix(config?: NAuthConfig): string; /** * Get the access token cookie name * @param config - NAuth configuration * @returns Access token cookie name (default: 'nauth_access_token') */ export declare function getAccessTokenCookieName(config?: NAuthConfig): string; /** * Get the refresh token cookie name * @param config - NAuth configuration * @returns Refresh token cookie name (default: 'nauth_refresh_token') */ export declare function getRefreshTokenCookieName(config?: NAuthConfig): string; /** * Get the device token cookie name * @param config - NAuth configuration * @returns Device token cookie name (default: 'nauth_device_token') */ export declare function getDeviceTokenCookieName(config?: NAuthConfig): string; /** * Get the CSRF token cookie name * * If explicitly configured via security.csrf.cookieName, uses that value. * Otherwise, uses the prefix: `${prefix}csrf_token` * * @param config - NAuth configuration * @returns CSRF token cookie name (default: 'nauth_csrf_token') */ export declare function getCsrfTokenCookieName(config?: NAuthConfig): string; //# sourceMappingURL=cookie-names.util.d.ts.map