import { Context } from 'hono';
import { A as AuthConfig } from '../index-BWb-_-Tj.js';
import '@hono/zod-openapi';
import '@mesob/common';
import '../index-B_EQ1eEt.js';
import 'drizzle-orm/node-postgres';
import 'drizzle-orm';
import 'drizzle-orm/pg-core';
import 'pg';

/** Namespace for session cookie + session KV cache (`{ns}:sc:v1:…`). */
declare const getSessionKeyNamespace: (config: AuthConfig) => string;
declare const getSessionCookieName: (config: AuthConfig) => string;
type CookieOptions = {
    expires?: Date;
    path?: string;
};
declare const setSessionCookie: (c: Context, token: string, config: AuthConfig, options: CookieOptions) => void;
declare const deleteSessionCookie: (c: Context, config: AuthConfig) => void;

export { type CookieOptions, deleteSessionCookie, getSessionCookieName, getSessionKeyNamespace, setSessionCookie };
