/** * @license MIT * @module @whoj/utils-vue@2.4.0 * @copyright (c) 2026 Jonson B. */ import { Ref } from 'vue'; import { MaybeRef } from './refOf.cjs'; interface ConfigurableDocument { document?: Document; } interface UseStyleTagOptions extends ConfigurableDocument { /** * DOM id of the style tag * * @default auto-incremented */ id?: string; /** * Load the style immediately * * @default true */ immediate?: boolean; /** * Manual controls the timing of loading and unloading * * @default false */ manual?: boolean; /** * Media query for styles to apply */ media?: string; } interface UseStyleTagReturn { css: Ref; id: string; isLoaded: Readonly>; load: () => void; unload: () => void; } /** * Inject