export declare function tryFunc(func: () => T, ifException?: T): T; export declare function tryAwait(func: () => Promise, ifException?: T): Promise;