import type { AgentMessage } from "@earendil-works/pi-agent-core";
import { type SessionEntry } from "../session-manager.ts";
import type { CompactionSettings } from "./compaction.ts";
import { type ContextCompactionPreparation, type ContextCompactionRunOptions } from "./context-compaction-types.ts";
export declare function isExcludedFromLlmContext(message: AgentMessage): boolean;
export declare function hasAssistantError(message: AgentMessage): boolean;
export declare function hasToolResultError(message: AgentMessage): boolean;
export declare function hasFailedBashExecution(message: AgentMessage): boolean;
export declare function autoDetectContextCompactionQuery(pathEntries: readonly SessionEntry[]): string;
export declare function prepareContextCompaction(pathEntries: SessionEntry[], settings: CompactionSettings, options?: ContextCompactionRunOptions): ContextCompactionPreparation | undefined;
//# sourceMappingURL=context-transcript-analysis.d.ts.map