/** * Vue composable that returns the computed UI font-family for SuperDoc surfaces. * * This composable centralizes the logic for determining which font-family to use * across all SuperDoc UI components (toolbar, comments, dropdowns, tooltips, etc.). * It retrieves the configured font from the SuperDoc instance's config, validates it, * and falls back to the default if no valid font is configured. * * The font-family is determined by checking the `uiDisplayFallbackFont` config property. * If it's a non-empty string, it will be used. Otherwise, the DEFAULT_UI_FONT_FAMILY * constant is returned. * * @returns {{ uiFontFamily: import('vue').ComputedRef }} An object containing: * - uiFontFamily: A computed reference to the UI font-family string * * @example * // In a Vue component * import { useUiFontFamily } from '@superdoc/composables/useUiFontFamily.js'; * * export default { * setup() { * const { uiFontFamily } = useUiFontFamily(); * * // Use in template or computed styles * return { uiFontFamily }; * } * } * * @example * // In a template * */ export function useUiFontFamily(): { uiFontFamily: import('vue').ComputedRef; }; /** * The default font-family to use for SuperDoc UI surfaces when no custom font is configured. * This constant ensures consistency across the application. * @constant {string} */ export const DEFAULT_UI_FONT_FAMILY: "Arial, Helvetica, sans-serif"; //# sourceMappingURL=useUiFontFamily.d.ts.map