import type { ImageType } from "@llamaindex/core/schema";
export declare const isAsyncIterable: (obj: unknown) => obj is AsyncIterable<unknown>;
export declare const isReadableStream: (obj: unknown) => obj is ReadableStream;
export declare const isIterable: (obj: unknown) => obj is Iterable<unknown>;
export declare function imageToString(input: ImageType): Promise<string>;
export declare function stringToImage(input: string): ImageType;
export declare function imageToDataUrl(input: ImageType | Uint8Array): Promise<string>;
