declare global { interface Object { /** * Determines whether an object has a property with the specified name. * @param o An object. * @param v A property name. */ hasOwn(o: object, v: PropertyKey): boolean; } } export {}; declare global { interface PromiseConstructor { /** * Creates a Promise that can be resolved or rejected using provided functions. * @returns An object containing `promise` promise object, `resolve` and `reject` functions. */ withResolvers(): { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; }; } } declare global { interface String { /** * Replace all instances of a substring in a string, using a regular expression or search string. * @param searchValue A string to search for. * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string. */ replaceAll(searchValue: string | RegExp, replaceValue: string): string; /** * Replace all instances of a substring in a string, using a regular expression or search string. * @param searchValue A string to search for. * @param replacer A function that returns the replacement text. */ replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; } } export {}; //# sourceMappingURL=_dnt.polyfills.d.ts.map