export declare const ACP_FINAL_TEXT_LIMIT = 100000; export interface BoundedAcpFinalText { text: string; truncated: boolean; } export type AcpFinalTextResolution = { kind: "none"; final: BoundedAcpFinalText; } | { kind: "emit"; final: BoundedAcpFinalText; text: string; } | { kind: "divergent"; final: BoundedAcpFinalText; }; export declare function boundAcpFinalText(value: string): BoundedAcpFinalText; export declare function acpFinalTextFromMessage(message: unknown): BoundedAcpFinalText; export declare function resolveAcpFinalText(streamed: string, finalText: string): AcpFinalTextResolution;