import { Event } from '../events';
import { BaseModel } from './BaseModel';

export declare class AllTransactionsDeletedEvent extends Event {
    static readonly type: string;
}
/** Download transaction state */
export declare enum DownloadTransactionState {
    Completed = "Completed",
    Failed = "Failed",
    InProgress = "InProgress",
    Ready = "Ready"
}
/** Download transaction */
export declare class DownloadTransaction extends BaseModel {
    readonly location: string;
    private state;
    constructor(id: string, location: string, state: DownloadTransactionState, version?: number);
    static create(id: string, location: string): DownloadTransaction;
    equals(transaction: DownloadTransaction): boolean;
    clone(): DownloadTransaction;
    canAddFiles(): boolean;
    getState(): DownloadTransactionState;
    ready(): void;
    complete(): void;
    fail(): void;
    startProcessing(): void;
}
