/** * Auto-detection of graph file formats. * * Supports: JSON, GML, Pajek (.net), SNAP (.edges, .txt), UCINET (.dl) */ export type GraphFormat = "json" | "gml" | "pajek" | "snap" | "ucinet"; /** * Detect format from file extension. * @param filename */ export declare const detectFormatFromExtension: (filename: string) => GraphFormat | null; /** * Detect format from file content. * Examines the first few lines to identify the format. * @param content */ export declare const detectFormatFromContent: (content: string) => GraphFormat | null; /** * Detect format from filename and optionally content. * Tries extension first, then falls back to content analysis. * @param filename * @param content */ export declare const detectFormat: (filename: string, content?: string) => GraphFormat | null; //# sourceMappingURL=format-detection.d.ts.map