export type Attributes = { [key: string]: string | null; }; /** * Elements inside of web components sometimes need to inherit global attributes * set on the host. For example, the inner input in `bi-button` should inherit * the `aria-label` attribute that developers set directly on `bi-button`. This * helper function should be called in componentWillLoad and assigned to a variable * that is later used in the render function. * * This does not need to be reactive as changing attributes on the host element * does not trigger a re-render. */ export declare const inheritAttributes: (el: HTMLElement, attributes?: string[]) => Attributes; /** * Returns an array of aria attributes that should be copied from * the shadow host element to a target within the light DOM. * @param el The element that the attributes should be copied from. * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host. * Use this in instances where we manually specify aria attributes on the `` element. */ export declare const inheritAriaAttributes: (el: HTMLElement, ignoreList?: string[]) => Attributes;