export declare function logicalChain(defaultRet: boolean, fns: (() => Promise)[]): () => Promise;