/// import { type PropsWithKnownKeys } from "vanjs-core"; import { type TagFunc } from "mini-van-plate/van-plate"; export const createHeadTags: () => Map< string, SupportedTags | TagFunc >; export const getHeadTags = () => (Map>); export const resetHeadTags: () => void; export const initializeHeadTags: () => void | (() => Promise); export type SupportedTags = | HTMLTitleElement | HTMLLinkElement | HTMLScriptElement | HTMLMetaElement; export type AllHeadTags = | HTMLTitleElement | HTMLMetaElement | HTMLScriptElement | HTMLLinkElement | HTMLStyleElement; export type TagProps = SupportedTags | PropsWithKnownKeys; export type HeadTags = AllHeadTags[] | TagFunc[]; export const addMeta = (_tag: string | Partial) => null; export const removeMeta = (_tag: string | Partial) => null; export const Head: () => HeadTags; export const parseAttributes: ( attributeString: string, ) => Record; export const getTagAttribute: (tag: TagProps) => string; export const getTagKey: (tag: TagProps) => string;