import { LookupAddress } from "node:dns";

//#region src/domains/run/services/blob-storage/external-file-downloader.d.ts
type LookupCallback = (error: Error | null, address: string | LookupAddress[], family?: number) => void;
declare function forwardLookupResult(hostname: string, address: string | LookupAddress[], family: number | undefined, callback: LookupCallback): void;
declare function downloadExternalFile(url: string, options?: {
  expectedMimeType?: string;
}): Promise<{
  data: Uint8Array;
  mimeType: string;
}>;
//#endregion
export { downloadExternalFile, forwardLookupResult };