import { ISnapshotsResponse } from '../../API/fetchCommitmentsCache';
export declare class SnapshotFetcherService {
    private chainId;
    private contractAddress;
    private snapshotsPromise;
    private lastFetchedAt;
    private readonly cacheDurationMs;
    constructor(chainId: number, contractAddress: string, cacheDurationMs?: number);
    private fetchSnapshots;
    private ensureSnapshots;
    getAll(forceRefresh?: boolean): Promise<ISnapshotsResponse>;
    getCommitments(forceRefresh?: boolean): Promise<import('../../API/fetchCommitmentsCache').ICommitmentsTreeSnapshot>;
    getAccessTokens(forceRefresh?: boolean): Promise<import('../../API/fetchCommitmentsCache').IAccessTokenTreeSnapshot>;
    getNullifiers(forceRefresh?: boolean): Promise<import('../../API/fetchCommitmentsCache').INullifiersSnapshot>;
}
