import { StorageTypes } from '@requestnetwork/types';
/**
 * InMemory implementation to index Request storage transactions, for testing and development.
 * The data itself is not indexed, only references to its location
 */
export declare class InMemoryIndexer implements StorageTypes.IIndexer {
    #private;
    private readonly storageRead;
    constructor(storageRead: StorageTypes.IStorageRead);
    /** Adds the indexed data for easy retrieval */
    addIndex(channelId: string, topics: string[], location: string): void;
    initialize(): Promise<void>;
    getTransactionsByStorageLocation(hash: string): Promise<StorageTypes.IGetTransactionsResponse>;
    getTransactionsByChannelId(channelId: string): Promise<StorageTypes.IGetTransactionsResponse>;
    getTransactionsByTopics(topics: string[]): Promise<StorageTypes.IGetTransactionsResponse>;
    private parseDocuments;
}
//# sourceMappingURL=in-memory-indexer.d.ts.map