import { PdsIcon } from './pds-icon'; export declare const addIcons: (icons: { [name: string]: string; }) => void; export declare const getIconMap: () => Map; export declare const getName: (iconName: string | undefined, icon: string | undefined) => string; export declare const getSrc: (src: string | undefined) => string; export declare const getUrl: (pdsIcon: PdsIcon) => string; /** * Returns `true` if the document or host element * has a `dir` set to `rtl`. The host value will always * take priority over the root document value. */ export declare const isRTL: (hostEl?: Pick) => boolean; export declare const isSrc: (str: string) => boolean; export declare const isStr: (val: any) => val is string; export declare const toLower: (val: string) => string; /** * Elements inside of web components sometimes need to inherit global attributes * set on the host. For example, the inner input in `pds-input` should inherit * the `title` attribute that developers set directly on `pds-input`. 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[]) => { [k: string]: any; }; /** * Determines if an icon should be flipped when RTL is enabled * @param iconName - The name of the icon to check * @param hostEl - Optional host element to check for RTL direction * @returns {boolean} - True if the icon should be flipped in RTL mode, false otherwise */ export declare const shouldRtlFlipIcon: (iconName: string, hostEl?: Pick) => boolean; /** * Array of available icon names */ export declare const ICONS_TO_FLIP: string[];