// Export database utilities as namespace
export * as db from "./core/database/index.js";

// Export authentication module as namespace
export * as auth from "./features/auth/index.js";

// Export admin module as namespace
export * as admin from "./features/admin/index.js";

// Export API module as namespace
export * as api from "./core/api/index.js";

// Export email utilities as namespace
export * as email from "./core/email/index.js";

// Export cron utilities as namespace
export * as cron from "./core/cron/index.js";

// Export payment utilities as namespace
export * as payments from "./core/payments/index.js";
export * as stripe from "./core/payments/stripe.js";

// Export PDF utilities as namespace
export * as pdf from "./core/pdf/index.js";

// NOTE: Toast components are CLIENT ONLY - import from '@zen/core/toast'
// Do not export here to avoid mixing client/server boundaries

// Export app configuration utilities
export { getAppName, getAppConfig, getSessionCookieName, getPublicBaseUrl, isDevkitEnabled } from "./shared/lib/appConfig.js";

// Export initialization utilities
export { initializeZen, resetZenInitialization } from "./shared/lib/init.js";

// Export date utilities
export * as dates from "./shared/lib/dates.js";

// Export currency utilities
export * as currency from "./shared/utils/currency.js";