import type { Message } from "@kenkaiiii/gg-ai";
/**
 * Repair images restored from older sessions that predate attachment resizing.
 *
 * Anthropic accepts images up to 8000 px normally, but lowers the limit to
 * 2000 px per side once the full request history contains more than 20 images.
 * Mutating the in-memory blocks prevents an old oversized image from poisoning
 * every later turn; malformed blocks are left alone so session loading remains
 * best-effort.
 */
export declare function normalizeMessageImages(messages: Message[]): Promise<number>;
//# sourceMappingURL=message-images.d.ts.map