import React from 'react'; import { partitionsApi } from '../../../../store/reducers/partitions/partitions'; interface UseTopicPartitionsParams { path: string; database: string; databaseFullPath: string; selectedPartition: string | null | undefined; onPartitionAutoSelect: (partitionId: string) => void; } interface UseTopicPartitionsResult { partitions: ReturnType['data']; partitionsLoading: boolean; partitionsError: unknown; /** Start offset of the selected partition (from partitions list, initial value) */ baseOffset: number | undefined; /** End offset of the selected partition (from partitions list, initial value) */ endOffset: number | undefined; setEndOffset: React.Dispatch>; } export declare function useTopicPartitions({ path, database, databaseFullPath, selectedPartition, onPartitionAutoSelect, }: UseTopicPartitionsParams): UseTopicPartitionsResult; export {};