import { LicenseGate } from './gate.js';
export { LicenseGate } from './gate.js';
export { InsufficientBalanceError, SpendingLimitError } from './client.js';
export type { LicenseConfig, ChargeResult, BalanceInfo } from './types.js';
export declare function initLicenseGate(storagePath: string): Promise<LicenseGate>;
/**
 * Returns the license gate. Throws if not initialized.
 */
export declare function getLicenseGate(): LicenseGate;
/**
 * Initialize a license gate for integration/E2E tests.
 *
 * When called WITH a serverUrl (from startTestLicenseServer), uses a REAL
 * license server for full end-to-end billing verification.
 *
 * When called WITHOUT a serverUrl, creates a gate with seeded cache for
 * unit tests that only need balance checking (not charge/confirm).
 * charge() will throw if called -- this is intentional (fail-fast).
 */
export declare function initLicenseGateForTests(storagePath: string, balanceCents?: number, options?: {
    serverUrl?: string;
    licenseKey?: string;
}): LicenseGate;
//# sourceMappingURL=index.d.ts.map