/** * Represents the type of a test or test-related entity using bitwise flags. */ export declare class TestType { /** * The numeric value representing the combined bitwise flags. */ value: number; /** * Initializes a new TestType. * @param type - The numeric bitmask value. */ constructor(type: number); /** * Checks if the specified bitmask is included in the current type value. * @param testFlag - The bitmask to check for. * @returns True if the flag is set. */ has(testFlag: number): boolean; /** * Checks if any of the specified bitmasks are included in the current type value. * @param testFlags - The bitmasks to check for. * @returns True if at least one flag is set. */ hasEither(...testFlags: number[]): boolean; /** * Checks if the current type value is exactly equal to the specified bitmask. * @param testFlag - The bitmask to compare against. * @returns True if the values are equal. */ is(testFlag: number): boolean; /** * Checks if the current type value is exactly equal to any of the specified bitmasks. * @param testFlags - The bitmasks to compare against. * @returns True if the value matches any of the flags. */ isEither(...testFlags: number[]): boolean; /** * Returns a string representation of the set flags (for debugging). */ toString(): string; /** Indicates the entity has an 'only' property or decorator. */ static HAS_ONLY: number; /** Indicates the entity has a 'cases' property or decorator. */ static HAS_CASES: number; /** Indicates the entity has a custom 'title' property or decorator. */ static HAS_TITLE: number; /** Indicates the entity is a default export. */ static EXPORT_DEFAULT: number; /** Indicates the entity is a module. */ static MODULE: number; static MODULE_WITH_TITLE: number; /** Indicates the entity is a plain object. */ static OBJECT: number; static OBJECT_WITH_ONLY: number; /** Indicates the entity is a function. */ static FUNCTION: number; static FUNCTION_WITH_CASES: number; static FUNCTION_WITH_ONLY: number; static FUNCTION_WITH_CASES_ONLY: number; static FUNCTION_WITH_CASES_TITLE: number; static FUNCTION_WITH_TITLE: number; static FUNCTION_WITH_TITLE_ONLY: number; /** Indicates the entity is a built-in test runner function (e.g., 'beforeEach'). */ static BUILTIN: number; static BUILTIN_FUNCTION: number; /** Indicates the entity is a class definition. */ static CLASS_DEF: number; static CLASS_DEF_EXPORT_DEFAULT: number; static CLASS_DEF_WITH_ONLY: number; static CLASS_DEF_WITH_TITLE: number; /** Indicates the entity is a class instance. */ static CLASS_INST: number; static CLASS_INST_FUNCTION: number; static CLASS_INST_FUNCTION_WITH_CASES: number; static CLASS_INST_FUNCTION_WITH_ONLY: number; static CLASS_INST_FUNCTION_WITH_ONLY_CASES: number; static CLASS_INST_FUNCTION_WITH_TITLE: number; static CLASS_INST_BUILTIN_FUNCTION: number; } //# sourceMappingURL=testType.d.ts.map