import type { AstroFontProvider, ResolvedFontProvider } from '../types.js';
export declare function validateMod(mod: any, entrypoint: string): Pick<ResolvedFontProvider, 'provider'>;
export type ResolveMod = (id: string) => Promise<any>;
export interface ResolveProviderOptions {
    root: URL;
    provider: AstroFontProvider;
    resolveMod: ResolveMod;
}
export declare function resolveProvider({ root, provider: { entrypoint, config }, resolveMod, }: ResolveProviderOptions): Promise<ResolvedFontProvider>;
