import { K as KeysOfUnion } from './KeysOfUnion-a7c66ae5.js'; /** * A utility type around `string` that allows for autocomplete on the string on a specific set of values, yet accepting any string. * * @see https://twitter.com/diegohaz/status/1524257274012876801 */ type StringWithAutocomplete = S | (string & Record); declare function hasKey & string> | PropertyKey>(value: T, key: K): value is T & Record; export { StringWithAutocomplete as S, hasKey as h };