export declare function swallowErr(fn: () => Promise, fallback: T): Promise;