declare type ObjectEnum = Record; export declare type Enum = string | ObjectEnum; /** * Converts a comma separated strings or an array of strings to an object with each string being the property name. */ declare function toObject(values: T | Array | ObjectEnum): ObjectEnum; /** * Makes an enum definition. */ declare function makeDefinition(values: T[]): Record; /** * Produces the union of two enumerations. */ declare function union(enumA: Enum, enumB: Enum): ObjectEnum; /** * Returns an enumeration of items in enumA that are not in enumB. * @param enumA - enumA * @param enumB - enumB */ declare function exclusion(enumA: Enum, enumB: Enum): ObjectEnum; /** * Converts an object representation of an enumeration to a string */ declare function toString(enumA: ObjectEnum): string; export { toObject, makeDefinition, exclusion, union, toString };