import { GraphJson, GraphMeta } from '../gml/types'; /** * Options for fetching a UCINet dataset. */ export interface FetchDlOptions { /** Metadata to include in output */ meta: Omit; /** Override directed detection */ directed?: boolean; /** Custom fetch function */ fetch?: typeof globalThis.fetch; } /** * Result of fetching a UCINet dataset. */ export interface FetchDlResult { /** The converted graph */ graph: GraphJson; /** Original filename (from URL or archive) */ filename: string; /** Size of downloaded archive in bytes */ archiveSize: number; /** Size of decompressed content in bytes */ contentSize: number; } /** * Fetch a UCINet dataset from URL, decompress if needed, and convert to JSON. * * @param url - URL to .dl, .dl.gz, or .zip file * @param options - Conversion options * @returns Converted graph and fetch metadata */ export declare const fetchDlDataset: (url: string, options: FetchDlOptions) => Promise; //# sourceMappingURL=fetch.d.ts.map