import { G as NeetruClientConfig, B as NeetruClient } from './types-CRIIjqzC.js';
import 'drizzle-orm/node-postgres';
import './errors.js';

/** Limpa o cache de JWKS — uso exclusivo em testes. */
declare function __resetJwksCacheForTests(): void;
/**
 * Cria uma instância imutável do cliente Neetru SDK.
 *
 * @example
 * ```ts
 * import { createNeetruClient } from '@neetru/sdk';
 *
 * const client = createNeetruClient({
 *   apiKey: 'nrt_a1b2c3d4_xY9z...',
 * });
 *
 * const { products } = await client.catalog.list();
 * const can = await client.entitlements.check('neetru-pulse', 'export-pdf');
 * await client.telemetry.event({ name: 'report_exported' });
 * await client.usage.track('api_call', { route: '/x' });
 * await client.support.createTicket({ subject: 'help', message: '...' });
 * ```
 *
 * @throws {NeetruError} `invalid_config` se fetch não disponível no runtime.
 */
declare function createNeetruClient(config?: NeetruClientConfig): NeetruClient;

export { __resetJwksCacheForTests, createNeetruClient };
