import { Context } from 'hono';
import { A as AuthConfig } from '../index-Dn-e4r-J.js';
import '@hono/zod-openapi';
import '@mesob/common';
import '../index-D90p-4Uh.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 };
