import { type DataDirectoryState } from './data-directory'; import type { DataSummary } from './sdn-backend'; export interface DataSummaryFeedRow { datastoreKey?: string; schemaName: string; providerId: string; sourceName: string; batchId: string; producerPeerId: string; producerPublicKey: string; count: number; totalBytes: number; } export interface DataSummaryFeedSelection { standardId: string; datastoreKey?: string | null; providerId?: string | null; sourceName?: string | null; } export interface PeerDataFeedSource { id: string; label: string; peerId: string; publicKey: string | null; syncAddrs: string[]; } export interface PeerDataFeed { id: string; dataSourceId: string; peerId: string; datastoreKey: string | null; providerName: string; providerId: string | null; providerPublicKey: string | null; sourceName: string | null; standardId: string; remoteRows: number; syncAddrs: string[]; } export declare const STORE_FEED_STANDARD_IDS: string[]; export declare function dataSummaryListingsForSource(source: PeerDataFeedSource, summary: DataSummary | null): Array>; export declare function buildPeerDataFeeds(sources: PeerDataFeedSource[], listings: Array>, state: DataDirectoryState): PeerDataFeed[]; export declare function preferredDataSummarySource(rows: DataSummaryFeedRow[], selection: DataSummaryFeedSelection): DataSummaryFeedRow | null; //# sourceMappingURL=peer-data-feeds.d.ts.map