// Browser-safe stub for database/context // The real implementation uses Node.js AsyncLocalStorage which is server-only. // This stub is used during the client build to avoid bundling server-only code. export const DatabaseContext = null as any; export function database(): never { throw new Error("database() can only be called on the server"); }