import { Logger } from "graphile-worker"; import { PoolClient } from "pg"; import { Boolean, Partial, Record, Static, String } from "runtypes"; import { ModuleOperationType } from "../objects/module"; export declare const RunContext: import("runtypes").Intersect2, string, unknown>, string, unknown>; }, false>, Partial<{ dropObjects: import("runtypes").Union2>; }>>; export declare const ToFileRunContext: import("runtypes").Intersect2, string, unknown>, string, unknown>; }, false>, Partial<{ dropObjects: import("runtypes").Union2>; }>>, Record<{ outFile: String; }, false>>; export interface RunContextI extends Static { client: PoolClient; logger: Logger; } export interface ToFileRunContextI extends Static { client: PoolClient; logger: Logger; } declare type ToStatementFunction = (operation: OperationType, context: RunContextI) => string; export declare type Runner = (operations: ModuleOperationType[], toStatement: ToStatementFunction, context: RunContextI | ToFileRunContextI) => Promise; export declare const directRunner: Runner; export declare const fileRunner: Runner; export {};