export type LoadedImage = {
    buffer: Buffer;
    mimeType: string;
};
/**
 * Load image bytes from a data URL, http(s) URL, or local path.
 * Local paths must stay under `workspace` or `localRoots` when provided.
 */
export declare function loadImageForToolInput(rawInput: string, opts: {
    maxBytes: number;
    workspace: string;
    localRoots?: string[];
}): Promise<LoadedImage>;
