import { GraphJson, GraphMeta } from '../formats/gml/types'; import { GraphFormat } from './format-detection'; export interface LoadGraphOptions { /** Explicitly specify format (skips auto-detection) */ format?: GraphFormat; /** Metadata to use for JSON conversion */ meta?: Partial; } export interface LoadGraphResult { /** The loaded graph in GraphJson format */ graph: GraphJson; /** The detected or specified format */ format: GraphFormat; } /** * Load a graph from a file. * Auto-detects format if not specified. * @param filepath * @param options */ export declare const loadGraphFromFile: (filepath: string, options?: LoadGraphOptions) => LoadGraphResult; /** * Load a graph from a string. * Auto-detects format if not specified. * @param content * @param filename * @param options */ export declare const loadGraphFromString: (content: string, filename: string, options?: LoadGraphOptions) => LoadGraphResult; //# sourceMappingURL=graph-loader.d.ts.map