export declare const groupByLeaderId: <T extends {
    topic: string;
    partition: number;
}>(items: T[], leaderIdByTopicPartition: {
    [topic: string]: {
        [partition: number]: number;
    };
}) => {
    [nodeId: number]: T[];
};
