export declare function isStackOverflowExeption(error: Error): boolean; export declare const tryAndThrowErrorIfStackOverflow: (fn: () => T, errorCallback: () => Error) => T;