import Koa from "koa"; import DataLoader from "dataloader"; import { ProductFile, ReleaseFile, TransactionFile, RootFile, ProductTableFile } from "../file-types"; export type GetBaseUrl = (ctx: Koa.Context, databaseId: string) => string; export type ReadJsonFile = (fileName: string) => Promise; export interface Context { readonly readJsonFile: ReadJsonFile; readonly markerFile: ReleaseFile | TransactionFile; readonly markerName: string; readonly loaders: DataLoaders; readonly rootFile: RootFile; } export declare function createContext(readJsonFile: ReadJsonFile, markerName: string, markerFile: ReleaseFile | TransactionFile, rootFile: RootFile): Context; export interface DataLoaders { readonly productFiles: DataLoader; readonly tableFiles: DataLoader; } export declare function createLoaders(readJsonFile: ReadJsonFile): DataLoaders; //# sourceMappingURL=context.d.ts.map