type ThemeFontStyle = "normal" | "italic";
type ThemeFontDisplay = "auto" | "block" | "swap" | "fallback" | "optional";
interface ThemeFontSource {
    filename: string;
    weight: string;
    style: ThemeFontStyle;
}
interface ThemeFontDefinition {
    name: string;
    family: string;
    cssVariable: string;
    fallbacks: string[];
    display?: ThemeFontDisplay;
    preload?: boolean;
    sources: readonly ThemeFontSource[];
}
interface NextLocalFontOptions {
    variable: string;
    display?: ThemeFontDisplay;
    fallback: string[];
    preload?: boolean;
    src: ReadonlyArray<{
        path: string;
        weight: string;
        style: ThemeFontStyle;
    }>;
}
declare function createLocalFontOptions(font: ThemeFontDefinition, metaUrl: string): NextLocalFontOptions;

export { type NextLocalFontOptions, type ThemeFontDefinition, type ThemeFontDisplay, type ThemeFontSource, type ThemeFontStyle, createLocalFontOptions };
