/** * Converts an array of strings to an object with the same values as keys and values. * @example * ```ts * toObject(['a', 'b']) // { a: 'a', b: 'b' } * ``` */ declare function toObject(array: readonly T[]): Record; export { toObject as t };