export declare type TTag = { selectorAttr: string; selectorValue: string; attr: string; }; export declare type TMetaTags = { title?: T; description?: T; imageUrl?: T; siteName?: T; pageUrl?: T; author?: T; keywords?: T; viewport?: T; canonical?: T; [x: string]: T; }; /** * @name MetasManager * @description Manage metas document head * In order to use this manager, title need be set in each page. * * Use manager as singleton * ex: * MetasManager.inject({ title:"...", description:"...", ... }) * */ export declare class MetasManager { private static AUTO_GENERATE_ATTR; static DEFAULT_META_TAGS: TMetaTags; /** * Prevent non string return * @param metaValue */ private static checkValue; /** * Select Meta value */ private static selectMetaValue; /** * Inject meta tags and meta values * @description Inject metas tag elements in document * @param values: Meta values to set et tag * @param tags: Meta tags properties to inquire or create * @param autoCreateMetaTag: Auto create meta tag if it doesn't exist in * @param autoRemoveMetaTag: Auto remove meta tag if is value is "" */ static inject({ values, tags, autoCreateMetaTag, autoRemoveMetaTag, }: { values?: TMetaTags; tags?: TMetaTags; autoCreateMetaTag?: boolean; autoRemoveMetaTag?: boolean; }): void; }