import type { AgentMessage } from "@caupulican/pi-agent-core"; export declare function textContentPrefix(content: readonly unknown[], maxChars?: number): string; /** Project the latest provider-visible user prompt without rebuilding earlier context. */ export declare function latestUserPromptText(messages: readonly AgentMessage[], maxChars?: number): string; /** Project the latest non-empty assistant response without copying or reversing session history. */ export declare function latestAssistantText(messages: readonly AgentMessage[]): string | undefined; //# sourceMappingURL=message-text.d.ts.map