import type { AstroRuntimeLogger } from '../../types/public/context.js'; export declare function loadRemoteImage(src: URL): Promise; export type LocalImageLoadResult = { kind: 'loaded'; buffer: Buffer; } | { kind: 'invalid-path'; } | { kind: 'not-found'; } | { kind: 'failed'; }; export declare const handleImageRequest: ({ request, loadLocalImage, logger, }: { request: Request; loadLocalImage: (src: string, baseUrl: URL) => Promise; logger: AstroRuntimeLogger; }) => Promise;