import { S as Session, U as User } from '../index-Dn-e4r-J.js';
import 'hono';
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';

declare const normalizeAuthUser: (user: Pick<User, "id" | "tenantId" | "fullName" | "email" | "phone" | "image" | "emailVerified" | "phoneVerified"> & Pick<Partial<User>, "roles" | "roleCodes" | "permissions">) => {
    id: string;
    tenantId: string;
    fullName: string;
    email: string | null;
    phone: string | null;
    image: string | null;
    emailVerified: boolean;
    phoneVerified: boolean;
    roles: string[] | null;
    roleCodes: string[] | null;
    permissions: string[] | null;
};
declare const normalizeAuthSession: (session: Pick<Session, "id" | "expiresAt"> | null) => {
    id: string;
    expiresAt: string;
} | null;

export { normalizeAuthSession, normalizeAuthUser };
