/**
 * Converts a string to an enum value
 *
 * strings not in the enum will be returned as the original string
 */
export declare function toEnum<T>(value: string, enumType: T): T[keyof T];
/**
 * Converts an array of strings to an array of enum values
 *
 * strings not in the enum will be returned as the original string
 */
export declare function toEnums<T>(values: string[], enumType: T): Array<T[keyof T]>;
