export declare function isInEnum(value: string, keys: Record): value is T;