import type { ModelMessage } from "ai";
/**
 * Ensures all file-part filenames across a set of messages are globally unique.
 *
 * LLM providers like Bedrock require document names to be unique across all
 * messages in a single request. When the same attachment appears in multiple
 * turns (e.g. history + current) or the same file is referenced from both
 * promptContext and planContext, this function renames collisions with stable
 * numeric suffixes (_2, _3, …) rather than dropping any attachments.
 *
 * The first occurrence of each filename is kept as-is; subsequent collisions
 * are suffixed. Messages are shallow-cloned only when a rename is needed.
 */
export declare function uniquifyFilePartFilenames(messages: ModelMessage[]): ModelMessage[];
//# sourceMappingURL=uniquify-filenames.d.ts.map