export interface History { all(): Promise; has(id: string): Promise; apply(id: string): Promise; cancel(id: string): Promise; }