import type { ProviderUsageAggregate, ProviderUsageAggregateSummary, ProviderUsageByModel, ProviderUsageNodeBreakdown } from "@h9-foundry/agentforge-shared-types";
interface RawProviderUsageInput {
    readonly provider?: string;
    readonly model?: string;
    readonly inputTokens?: number;
    readonly outputTokens?: number;
    readonly totalTokens?: number;
    readonly requestCount?: number;
    readonly raw?: unknown;
}
export declare function enrichProviderUsage(input: RawProviderUsageInput, fallbackProvider: string): ProviderUsageByModel;
export declare function buildProviderUsageSummary(entries: readonly ProviderUsageByModel[]): ProviderUsageAggregateSummary | undefined;
export declare function buildProviderUsageAggregate(byNode: readonly ProviderUsageNodeBreakdown[]): ProviderUsageAggregate | undefined;
export {};
//# sourceMappingURL=usage.d.ts.map