import type { FlattenReturn } from './types'; export type SyncFunction = () => T; export declare function tryFunction(syncFn: () => T): FlattenReturn;