import { t } from '../common'; declare type SemVer = string; export declare type IReqQueryFunc = { pull?: boolean; silent?: boolean; timeout?: number; onError?: OnFuncError; json?: boolean; }; export declare type IReqPostFuncBody = IReqPostFuncSerial | IReqPostFuncParallel; export declare type IReqPostFuncSerial = t.IReqPostFunc[]; export declare type IReqPostFuncParallel = { [key: string]: t.IReqPostFunc; }; export declare type IReqPostFunc = { bundle: t.ManifestUrl; entry?: string; fileshash?: string; tx?: string; pull?: boolean; silent?: boolean; timeout?: t.Timeout; in?: Partial; onError?: OnFuncError; }; export declare type OnFuncError = 'stop' | 'continue'; export declare type IResPostFunc = { ok: boolean; elapsed: number; execution: 'serial' | 'parallel'; runtime: { name: t.RuntimeEnv['name']; version: SemVer; }; results: t.IResPostFuncResult[]; }; export declare type IResPostFuncResult = { ok: boolean; tx: string; out: t.RuntimeOut; elapsed: t.RuntimeElapsed; bundle: { url: t.ManifestUrl; fileshash: string; version: SemVer; }; entry: string; cache: { exists: boolean; pulled: boolean; }; size: { bytes: number; files: number; }; silent: boolean; errors: t.IRuntimeError[]; }; export {};