/**
 * @djangocfg/api/server — server-side only exports.
 *
 * No React hooks, no client-side code. Use from Next.js API routes / Server
 * Components / Node.js backends.
 */

export {
  CfgAccountsAPI as AccountsAPI,
  CfgTotpAPI as TotpAPI,
  CfgCentrifugoAPI as CentrifugoAPI,
  MemoryStorageAdapter,
  LocalStorageAdapter,
  type StorageAdapter,
  APIError,
  NetworkError,
} from './_api/generated';

// SDK fetchers (Hey API SDK classes — re-export as namespace modules).
export * as AccountsFetchers from './_api/generated/_cfg_accounts/sdk.gen';
export * as TotpFetchers from './_api/generated/_cfg_totp/sdk.gen';
export * as CentrifugoFetchers from './_api/generated/_cfg_centrifugo/sdk.gen';

// Zod schemas.
export * as AccountsSchemas from './_api/generated/_cfg_accounts/schemas';
export * as TotpSchemas from './_api/generated/_cfg_totp/schemas';
export * as CentrifugoSchemas from './_api/generated/_cfg_centrifugo/schemas';

// Types.
export type * as AccountsTypes from './_api/generated/_cfg_accounts/types.gen';
export type * as TotpTypes from './_api/generated/_cfg_totp/types.gen';
export type * as CentrifugoTypes from './_api/generated/_cfg_centrifugo/types.gen';
