UNPKG

@wdio/browserstack-service

Version:
45 lines 912 B
/** * Enum representing different states of a hook * @readonly * @enum {Object} */ export declare const HookState: Readonly<{ /** * No hook, initial state */ NONE: { value: number; toString(): string; }; /** * Pre-execution hook */ PRE: { value: number; toString(): string; }; /** * Post-execution hook */ POST: { value: number; toString(): string; }; }>; /** * Get hook state by value * * @param {number} value - The numeric value of the hook state * @returns {Object|undefined} The hook state object or undefined if not found */ export declare const fromValue: (value: number) => { value: number; toString(): string; } | { value: number; toString(): string; } | { value: number; toString(): string; } | undefined; //# sourceMappingURL=hookState.d.ts.map