import { PolymorphicEvent, Primitive } from '@sentry/types'; /** * Checks whether given value's type is one of a few Error or Error-like * {@link isError}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isError(wat: unknown): wat is Error; /** * Checks whether given value's type is ErrorEvent * {@link isErrorEvent}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isErrorEvent(wat: unknown): boolean; /** * Checks whether given value's type is DOMError * {@link isDOMError}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isDOMError(wat: unknown): boolean; /** * Checks whether given value's type is DOMException * {@link isDOMException}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isDOMException(wat: unknown): boolean; /** * Checks whether given value's type is a string * {@link isString}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isString(wat: unknown): wat is string; /** * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol) * {@link isPrimitive}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isPrimitive(wat: unknown): wat is Primitive; /** * Checks whether given value's type is an object literal * {@link isPlainObject}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isPlainObject(wat: unknown): wat is Record; /** * Checks whether given value's type is an Event instance * {@link isEvent}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isEvent(wat: unknown): wat is PolymorphicEvent; /** * Checks whether given value's type is an Element instance * {@link isElement}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isElement(wat: unknown): boolean; /** * Checks whether given value's type is an regexp * {@link isRegExp}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isRegExp(wat: unknown): wat is RegExp; /** * Checks whether given value has a then function. * @param wat A value to be checked. */ export declare function isThenable(wat: any): wat is PromiseLike; /** * Checks whether given value's type is a SyntheticEvent * {@link isSyntheticEvent}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isSyntheticEvent(wat: unknown): boolean; /** * Checks whether given value is NaN * {@link isNaN}. * * @param wat A value to be checked. * @returns A boolean representing the result. */ export declare function isNaN(wat: unknown): boolean; /** * Checks whether given value's type is an instance of provided constructor. * {@link isInstanceOf}. * * @param wat A value to be checked. * @param base A constructor to be used in a check. * @returns A boolean representing the result. */ export declare function isInstanceOf(wat: any, base: any): boolean; //# sourceMappingURL=is.d.ts.map