/** * Extract a stable marker line from a polyfill source string. Polyfills are * prefixed with a JSDoc block, so the marker is the first code line — the one * that declares or assigns the polyfilled member (e.g. * `String.prototype.search = function (...) {` or `function bindFn(...) {`). * Its presence in a document means the polyfill has already been inserted. * @param polyfill - The polyfill source string. * @returns The trimmed first code line, or undefined when none is found. */ export declare function polyfillMarker(polyfill: string): string | undefined; /** * Determine whether a polyfill is already present in a document. * @param text - Full document text. * @param polyfill - The polyfill source string. * @returns True when the polyfill's marker line is found in the document. */ export declare function isPolyfillPresent(text: string, polyfill: string): boolean; //# sourceMappingURL=polyfill.d.ts.map