//#region src/auth/cookie-names.ts
const AUTH_COOKIE_PREFIX = "better-auth";
const SECURE_PREFIX = "__Secure-";
const SESSION_COOKIE_NAME = `${AUTH_COOKIE_PREFIX}.session_token`;
function isAuthCookie(cookieName) {
	return cookieName.startsWith(AUTH_COOKIE_PREFIX) || cookieName.startsWith(`${SECURE_PREFIX}${AUTH_COOKIE_PREFIX}`);
}
function isSessionCookie(cookieName) {
	return cookieName === SESSION_COOKIE_NAME || cookieName === `${SECURE_PREFIX}${SESSION_COOKIE_NAME}`;
}

//#endregion
export { AUTH_COOKIE_PREFIX, SESSION_COOKIE_NAME, isAuthCookie, isSessionCookie };