import { Activity, ActivityAddRequest, TransactionResponse } from '../../types';
export declare class ActivityStorage {
    protected generateTxId(): string;
    private getTransactionRecord;
    saveTxRequest(txRequest: ActivityAddRequest): Promise<string>;
    getTxRequest(id: string): Promise<Activity>;
    getAllTxRequests(chainId: number): Promise<Activity[]>;
    updateTxHash(activityId: string, newTxHash: string): Promise<void>;
    private updateTxStatusAndHash;
    private updateActivity;
    removePendingTransactions(pendingActivityId: string): Promise<void>;
    updatePendingTransactions(transactionResponse: TransactionResponse, pendingActivityId: string, onTxSuccess?: () => void, onTxError?: (errorResponse: Error) => void): Promise<void>;
}
export declare const activityStorage: ActivityStorage;
