/// import { URL } from "url"; import { Image } from "@nut-tree-fork/shared"; import { ProviderRegistry } from "@nut-tree-fork/provider-interfaces"; export declare function loadImageResource(providerRegistry: ProviderRegistry, resourceDirectory: string, fileName: string): Promise; /** * fetchFromUrl loads remote image content at runtime to provide it for further use in on-screen image search * @param url The remote URl to fetch an image from as string or {@link URL} * @throws On malformed URL input or in case of non-image remote content */ export declare function fetchFromUrl(url: string | URL): Promise;