/**
 * OpenTelemetry integration for Claude Code metrics.
 *
 * Captures real token usage data from Claude Code OTel exports.
 * Supports setup, parsing, aggregation, and session comparison.
 *
 * @task T4454
 * @epic T4454
 */
/** Check if OTel telemetry is enabled. */
export declare function isOtelEnabled(): boolean;
/** OTel capture mode. */
export type OtelCaptureMode = 'console' | 'file' | 'prometheus';
/** Get environment variable commands for OTel capture setup. */
export declare function getOtelSetupCommands(mode?: OtelCaptureMode, cwd?: string): string;
/** Token data point parsed from OTel metrics. */
export interface OtelTokenDataPoint {
    timestamp: string | number;
    type: string;
    model: string;
    tokens: number;
}
/** Parse OTel token metrics from collected data. */
export declare function parseTokenMetrics(inputFile?: string, cwd?: string): OtelTokenDataPoint[];
/** Aggregated token counts. */
export interface AggregatedTokens {
    session_id: string | null;
    tokens: {
        input: number;
        output: number;
        cache_read: number;
        cache_creation: number;
        total: number;
        effective: number;
    };
    api_requests: number;
    source: 'otel';
}
/** Get aggregated token counts from OTel data. */
export declare function getSessionTokens(sessionId?: string, cwd?: string): AggregatedTokens;
/** Record token counts at session start. */
export declare function recordSessionStart(sessionId: string, cwd?: string): Promise<Record<string, unknown>>;
/** Record token counts at session end. */
export declare function recordSessionEnd(sessionId: string, cwd?: string): Promise<Record<string, unknown>>;
/** Compare token usage between two sessions. */
export declare function compareSessions(sessionA: string, sessionB: string, cwd?: string): Record<string, unknown>;
/** Get statistics about token usage across sessions. */
export declare function getTokenStats(cwd?: string): Record<string, unknown>;
//# sourceMappingURL=otel-integration.d.ts.map