export declare function createAccumulator(runId: string, deviceId: string, sessionKey: string): void;
export declare function feedDeliver(runId: string, text: string, _kind: string): void;
export declare function feedThinking(runId: string, data: {
    delta?: string;
    text?: string;
}): void;
export interface ToolHookEvent {
    when: "before" | "after";
    toolName?: string;
    toolCallId?: string;
    params?: unknown;
    result?: unknown;
    error?: string | null;
    durationMs?: number;
    displayLabel?: string;
    displayEmoji?: string;
}
export declare function feedToolHook(runId: string, event: ToolHookEvent): void;
export declare function feedMetadata(runId: string, meta: {
    modelName?: string;
    totalTokens?: number;
    contextTokensUsed?: number;
    contextWindowMax?: number;
}): void;
export declare function feedLifecycle(runId: string, phase: string, _data: Record<string, unknown>): void;
export declare function finalizeAndStore(runId: string): string | null;
export declare function disposeAccumulator(runId: string): void;
/** Vitest-only: clear all accumulators */
export declare function resetAccumulatorsForTest(): void;
