import { GraphJson, GraphMeta } from '../gml/types'; /** * Options for fetching a Pajek dataset. */ export interface FetchPajekOptions { /** Metadata to include in output */ meta: Omit; /** Override directed detection */ directed?: boolean; /** Custom fetch function */ fetch?: typeof globalThis.fetch; } /** * Result of fetching a Pajek dataset. */ export interface FetchPajekResult { /** 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 Pajek dataset from URL, decompress if needed, and convert to JSON. * * @param url - URL to .net, .net.gz, or .zip file * @param options - Conversion options * @returns Converted graph and fetch metadata */ export declare const fetchPajekDataset: (url: string, options: FetchPajekOptions) => Promise; //# sourceMappingURL=fetch.d.ts.map