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