/** Verifies that the value is in the enumType specified */
export declare function isInEnum<T>(enumType: T, value: any): value is T[keyof T];
/** Converts a string value to an Enum member
 *  If a value can't be matched to a valid option in the enum, returns undefined (or throws if throwIfInvalid = true) */
export declare function toEnumValue<T>(e: T, value: any, throwIfInvalid?: boolean): T[keyof T] | undefined;
/** returns first item in an enum that is included somewhere in the target string
 * e.g. enumInString(ErrorCode, '001-badpassword: error') => ErrorCode.BadPassword
 */
export declare function enumInString<T extends Record<string, string>>(enumType: T, searchString: any): T[keyof T] | undefined;
