export declare const getElementsFromNamedSlot: (element: HTMLElement, slotName: string) => Element[]; export declare const getElementsFromDefaultSlot: (element: HTMLElement) => Element[]; export declare const hasSlot: (element: HTMLElement, slotName?: string) => boolean; export declare const getSlotTextContent: (element: HTMLElement, slotName?: string, separator?: string) => string; /** * Check if the slotted element matches the given selector. * If not, log a warning, or log a error and remove the element. * This function only works with named slots. * * @param hostElement Host element * @param slotName Name of the slot to check. * @param selector Css selector the slotted element should match * @param maxChildren Maximum number of children allowed in the slot. For no limit use 0. Default is 0. * @param remove If true, remove the elements that don't match. Default is false. */ export declare const checkNamedSlotElement: (hostElement: HTMLElement, slotName: string, selector: string, maxChildren?: number, remove?: boolean) => void; /** * Clones host element's default slot contents inside of target element. * Uses cloneNode so remember to always check for its caveats. * * @param hostElement Host element * @param targetElement Target element */ export declare const cloneDefaultSlotContent: (hostElement: Element, targetElement: Element) => void; /** * Creates hidden input element inside component's slot. * This can be used to support native
element functionalities. * * @param element Element * @param name Input name * @param value Input value */ export declare const proxyInputToSlot: (element: Element, id: string, name: string, value: any, required: boolean, checked?: any) => void;