export interface MeasuredUsageRun {
    runId: string;
    source: "ccusage-session" | "execution-log";
    workflow: string;
    task: string | null;
    timestamp: string;
    totalTokens: number;
    inputTokens: number | null;
    cachedInputTokens: number | null;
    outputTokens: number | null;
    reasoningOutputTokens: number | null;
    files: string[];
}
export interface MeasuredUsageWorkflow {
    workflow: string;
    tokens: number;
    runs: number;
}
export interface MeasuredUsageFile {
    file: string;
    tokens: number;
    runs: number;
    attribution: "allocated";
}
export interface MeasuredUsageState {
    artifactType: "kiwi-control/measured-usage";
    version: 1;
    timestamp: string;
    available: boolean;
    source: "ccusage-session" | "execution-log" | "mixed" | "none";
    totalTokens: number;
    totalRuns: number;
    runs: MeasuredUsageRun[];
    workflows: MeasuredUsageWorkflow[];
    files: MeasuredUsageFile[];
    note: string;
}
export declare function buildMeasuredUsage(targetRoot: string): Promise<MeasuredUsageState>;
export declare function persistMeasuredUsage(targetRoot: string, state: MeasuredUsageState): Promise<string>;
export declare function loadMeasuredUsage(targetRoot: string): Promise<MeasuredUsageState>;
//# sourceMappingURL=token-intelligence.d.ts.map