export declare function getErrorResult<E = Error, T = unknown>(fn: () => T): [error: undefined, result: T] | [error: E, result: undefined];
