/**
 * CLI provider persisted-history dedup — incremental append computation.
 *
 * Pure move out of cli-provider-instance.ts (no behavior change): the
 * shared-prefix diff that turns a full parsed transcript into the newly-added
 * tail to append to the persisted chat history. cli-provider-instance
 * re-exports buildIncrementalHistoryAppendMessages so existing importers/tests
 * keep their path.
 */
export type PersistableCliHistoryMessage = {
    role: string;
    content: string;
    kind?: string;
    senderName?: string;
    receivedAt?: number;
};
export declare function buildIncrementalHistoryAppendMessages(previousMessages: PersistableCliHistoryMessage[], currentMessages: PersistableCliHistoryMessage[]): PersistableCliHistoryMessage[];
