import type { AgentToolResult as KoiToolResult } from "@mariozechner/pi-agent-core";
import type { ImageContent } from "@mariozechner/pi-ai";
type ToolContentBlock = KoiToolResult<unknown>["content"][number];
export declare function sanitizeContentBlocksImages(blocks: ToolContentBlock[], label: string, opts?: {
    maxDimensionPx?: number;
    maxBytes?: number;
}): Promise<ToolContentBlock[]>;
export declare function sanitizeImageBlocks(images: ImageContent[], label: string, opts?: {
    maxDimensionPx?: number;
    maxBytes?: number;
}): Promise<{
    images: ImageContent[];
    dropped: number;
}>;
export declare function sanitizeToolResultImages(result: KoiToolResult<unknown>, label: string, opts?: {
    maxDimensionPx?: number;
    maxBytes?: number;
}): Promise<KoiToolResult<unknown>>;
export {};
