import { BaseAIOptions, TokenUsage, UsageEvent } from '../types'; /** * Emit a usage event to the `onUsage` callback configured on provider options. * * @param providerOptions - The provider's stored options (for `onUsage` and global `usageTags`). * @param providerName - Provider identifier (e.g. `'openai'`). * @param operation - The operation type that generated this usage. * @param model - Model that was used. * @param usage - Token usage breakdown, if available. * @param startTime - `Date.now()` captured before the API call. * @param callTags - Per-call `usageTags` from the method's options. */ export declare function emitUsage(providerOptions: BaseAIOptions, providerName: string, operation: UsageEvent['operation'], model: string, usage: TokenUsage | undefined, startTime: number, callTags?: Record): void; //# sourceMappingURL=usage.d.ts.map