import type { ImageInput } from "./Types.js"; /** * Make a request, thats all * * @param input URL or Request object * @param init Settings for request() method */ export declare function request(input: RequestInfo | URL, init?: RequestInit): Promise; /** * Fetches an image from a URL and returns base64 encoded string * * @param url URL of the image to fetch */ export declare function imageFromUrl(url: string): Promise; export declare function resolveImageInput(input: ImageInput): Promise; export declare function imageToBase64(imagePath: string): Promise;