export declare const runIfFn: (fn: T | (() => T)) => T;