export { createNeetruClient } from './auth.js';
export { NeetruError, NeetruErrorCode } from './errors.js';
export { A as AuthNamespace, a as AuthStateListener, C as CatalogListOptions, b as CatalogListResponse, d as CheckoutIntentInfo, e as CheckoutIntentStatus, f as CheckoutNamespace, g as CheckoutStartInput, h as CheckoutStartResult, i as CheckoutTenantType, l as CreateTicketInput, D as DEFAULT_BASE_URL, m as DbBatchOp, n as DbChangeType, o as DbCollectionRef, p as DbDoc, q as DbDocRef, r as DbGetResult, s as DbListResult, t as DbNamespace, u as DbQuery, v as DbSqlLease, w as DbWhereFilter, E as EntitlementCheck, F as FieldSentinel, I as IncrementSentinel, L as ListNotificationsOptions, M as MockCheckout, y as MockNotifications, z as MockWebhooks, N as NEETRU_SENTINEL_KEY, B as NeetruClient, G as NeetruClientConfig, H as NeetruDb, K as NeetruDbEngine, O as NeetruDbError, P as NeetruDbErrorCode, Q as NeetruDbOptions, R as NeetruDbTransport, S as NeetruEnv, T as NeetruSqlClient, U as NeetruUser, V as NotificationScopeOptions, W as NotificationsNamespace, X as Product, Y as ProductNotification, Z as ProductNotificationSeverity, _ as ProductPlan, $ as ProductStatus, a1 as RedirectCallbackResult, a2 as RegisterWebhookInput, a3 as ResolvedConfig, a4 as SendNotificationInput, a5 as ServerTimestampSentinel, a6 as SignInOptions, a8 as SupportNamespace, a9 as SupportSeverity, aa as SupportStatus, ab as SupportTicket, ad as TelemetryEventAck, ae as TelemetryEventInput, ai as UsageEventInput, aj as UsageNamespace, ak as UsageQuota, al as VerifyTokenOptions, am as VerifyWebhookRequestOptions, an as VerifyWebhookRequestResult, ao as WebhookEndpoint, ap as WebhookEvent, aq as WebhookScopeOptions, ar as WebhookTestResult, as as WebhooksNamespace, at as WithFieldSentinels, au as createCheckoutNamespace, av as createNeetruDb, aw as createNotificationsNamespace, ay as createWebhooksNamespace, aA as increment, aB as isFieldSentinel, aC as isIncrementSentinel, aD as isServerTimestampSentinel, aE as serverTimestamp, aF as verifyWebhookRequest, aG as verifyWebhookSignature } from './types-CRIIjqzC.js';
export { DEV_FIXTURE_USER, MockAuth, MockDb, MockEntitlements, MockSupport, MockUsage } from './mocks.js';
import 'drizzle-orm/node-postgres';

/**
 * Verifica se a versão do Core (`X-Neetru-Version`) é compatível com a SDK major.
 * Emite `console.warn` quando incompatível (uma vez por processo por versão detectada).
 */
declare function checkCoreVersionCompat(coreVersion: string): void;

/**
 * @neetru/sdk — biblioteca runtime para consumir o ecossistema Neetru.
 *
 * **v1.0.0 GA (2026-05-06)** — superfície pública estabilizada. A partir
 * desta versão, **breaking changes só em majors** (semver estrito).
 *
 * Namespaces estáveis (v1.0):
 *   - `auth` — OIDC sign-in / sign-out + dev fixture user.
 *   - `catalog` — produtos públicos (`list` / `get`).
 *   - `entitlements` — verificação `(productSlug, feature)` → boolean / detalhado.
 *   - `telemetry` — `event(...)` + `log(...)` per-product (Sprint 6).
 *   - `usage` — `track` / `getQuota` / `report` / `check` (Sprint 7 metering canônico).
 *   - `support` — `createTicket` / `listMyTickets`.
 *   - `db` — coleções tenant-scoped (`list` / `get` / `set` / `add` / `update` / `remove`).
 *
 * Princípios:
 *   - Vendor-neutral: a superfície pública não vaza Firebase/Stripe.
 *   - Tree-shakable: ESM-first, sem side effects.
 *   - Universal: funciona em browser, Node ≥18, Edge runtimes (usa fetch global).
 *   - Erros tipados via NeetruError com .code / .status / .requestId.
 *   - Dev mode: `NEETRU_ENV=dev` ativa mocks automáticos (auth fixture user,
 *     usage in-memory, support fake list, db in-memory).
 *
 * Migration v0.3 → v1.0:
 *   - Nenhuma breaking change. APIs v0.3 permanecem 100% compatíveis em v1.0.
 *   - `initNeetru` (deprecated desde v0.2) **continua** funcionando em v1.0 mas
 *     será removido em v2.0. Use `createNeetruClient` em código novo.
 *
 * Roadmap completo em `docs/PLAN_SDK_NEETRU.md` §10.
 */

/** Versão do SDK — exportada explicitamente pra detecção em runtime. */
declare const VERSION: "3.1.3";

export { VERSION, checkCoreVersionCompat };
