import * as next_font_local from 'next/font/local'; /** * Next.js `next/font`-compatible local font loader for the Dirham web font. * * Provides automatic font preloading, self-hosting, and CSS variable generation * when used with Next.js 13+. * * @example * ```tsx * // app/layout.tsx * import { dirhamFont } from "dirham/next"; * * export default function RootLayout({ children }) { * return ( * * {children} * * ); * } * ``` * * Then use the CSS variable in your styles: * ```css * .dirham-symbol { * font-family: var(--font-dirham); * } * ``` * * Or with Tailwind: * ```tsx * * ``` */ /** * Pre-configured Dirham font instance for Next.js. * * Uses `next/font/local` for automatic preloading, self-hosting, * and zero layout shift (no FOIT/FOUT). */ declare const dirhamFont: next_font_local.NextFont; /** * Font configuration for manual setup with `next/font/local`. * Use this if you need to customize the font loading behavior. * * @example * ```tsx * import localFont from "next/font/local"; * import { dirhamFontConfig } from "dirham/next"; * * const myDirham = localFont({ * ...dirhamFontConfig, * display: "optional", * }); * ``` */ declare const dirhamFontConfig: { src: { path: string; weight: "400"; style: "normal"; }[]; display: "swap"; variable: string; preload: boolean; }; export { dirhamFont, dirhamFontConfig };