interface LeidenOptions {
    resolution?: number;
    minCommunitySize?: number;
    maxIterations?: number;
}
declare function detectLeidenCommunities(nodeList: string[], edgeList: {
    source: string;
    target: string;
    weight: number;
}[], options?: LeidenOptions): Record<string, string[]>;

export { type LeidenOptions, detectLeidenCommunities };
