import { ElementRef } from '@angular/core'; import { DocumentRef } from '../document-ref/document-ref.service'; import { ElementConfig, LoadEventHandlingAttributes } from './element-configs'; import * as i0 from "@angular/core"; /** A function that modifies the attributes of a newly created element before it's added to the document. */ export declare type ElementConfigFn = (element: TElement) => void; /** The well-known 'rel' values for a element. */ export declare type LinkRel = 'alternate' | 'author' | 'canonical' | 'dns-prefetch' | 'help' | 'icon' | 'license' | 'next' | 'pingback' | 'preconnect' | 'prefetch' | 'preload' | 'prerender' | 'prev' | 'search' | 'stylesheet'; /** * Either a configurating function or a configuration object for new elements. * For objects, the element's properties should be overwritten by the configurator's properties. * For functions, the function should be run on the element without any other intervention. * * @type {TElement} The type of html element being configured. * @type {TKeep} (Optional) A union type of general html element attributes to keep. See `ElementConfig`. */ export declare type ElementConfigurator = ElementConfig | ElementConfigFn; /** * Either a configurating function or a configuration object for