export declare function isEnum(value: unknown, values: Record): value is T;