/**
 * @djangocfg/api/server - Server-side only exports
 *
 * Server-safe exports that don't include React hooks or client-side code.
 * Use this for Next.js API routes, Server Components, and Node.js backends.
 *
 * @example
 * ```typescript
 * import { API, MemoryStorageAdapter, Fetchers } from '@djangocfg/api/server';
 *
 * const api = new API('https://api.example.com', {
 *   storage: new MemoryStorageAdapter(),
 * });
 *
 * const result = await Fetchers.someEndpoint(data, api);
 * ```
 */

// Export API class and storage adapters
export { API, MemoryStorageAdapter } from './generated/cfg_accounts';

// Export only fetchers (no hooks, no React dependencies)
export * as Fetchers from './generated/cfg_accounts/_utils/fetchers';

// Export types and schemas (server-safe)
export * as Schemas from './generated/cfg_accounts/_utils/schemas';
export * as Enums from './generated/cfg_accounts/enums';

// Re-export types
export type { API as APIType } from './generated/cfg_accounts';
