export interface DeferredLink extends Partial { href: string; onDefer?: (link: DeferredLink) => void; } export declare const deferCssData: Record; /** * Defer Css Function * @param links - Array of links to defer * @param mountId - Id of the element to mount the links on * * @example * ```javascript * deferCss(['main-css-1.css', 'main-css-2.css'], 'main-css'); * deferCss([ * { href: 'other-css-1.css', crossorigin: 'anonymous'}, * 'other-css-2.css' * ], 'other-css'); * ``` * * This will result to. * ```html * * * * * * ``` */ export declare function deferCss(links: string | DeferredLink | (string | DeferredLink)[], mountId?: string): void; /** * hasStyleSheet - Check if a stylesheet is loaded * @param search */ export declare function hasStyleSheet(search: string): boolean; /** * getStyleSheetProperty - Get a stylesheet property, if not found returns undefined * @param search * @param $return */ export declare function getStyleSheetProperty(search: string, $return: K): CSSStyleSheet[K] | undefined; /** * getStyleSheet - Get a stylesheet, if not found returns undefined * @param search */ export declare function getStyleSheet(search: string): CSSStyleSheet | undefined;