import { Resource, JobBase, ResourceType } from "mcma-core"; export abstract class DbTable { constructor(type: ResourceType); query(filter: any): Promise; get(id: string): Promise; put(id: string, resource: T): Promise; delete(id: string): Promise; getAndThrowIfNotFound(id: string): Promise; updateJobStatus(jobId: string, status?: string, statusMessage?: string): Promise; } export type DbTableProvider = (tableName: string) => DbTable; export as namespace McmaData;