import { EpochFeedChunk } from "./EpochFeedChunk";
import { EpochIndex } from "./EpochIndex";
import type { BeeClient, Reference } from "../clients";
export declare class EpochFeed {
    beeClient: BeeClient;
    constructor(beeClient: BeeClient);
    createNextEpochFeedChunk(account: string, topic: Uint8Array, contentPayload: Uint8Array, knownNearEpochIndex?: EpochIndex): Promise<EpochFeedChunk>;
    tryFindEpochFeed(account: string, topic: Uint8Array, at: Date, knownNearEpochIndex?: EpochIndex): Promise<EpochFeedChunk | null>;
    tryGetFeedChunk(account: string, topic: Uint8Array, index: EpochIndex): Promise<EpochFeedChunk | null>;
    tryGetFeedChunk(chunkReferenceHash: Reference, index: EpochIndex): Promise<EpochFeedChunk | null>;
    private findLastEpochChunkBeforeDate;
    /**
     * Implement phase 1 of epoch chunk look up.
     * @param knownNearEpoch An optional epoch index with known existing chunk
     * @param at The searched date
     * @returns A starting epoch index
     */
    private findStartingEpochOffline;
    private tryFindStartingEpochChunkOnline;
}
//# sourceMappingURL=EpochFeed.d.ts.map