import { type ApiRequest, ApiResponse } from '../request-response';
type FontVariant = {
    weight: string;
    style: 'italic' | 'normal';
    src?: string;
};
export type Font = {
    family: string;
    label?: string;
    variants: FontVariant[];
};
type Fonts = Font[];
export type GetFonts = () => Fonts | Promise<Fonts>;
export declare function fontsHandler(_req: ApiRequest, { getFonts }: {
    getFonts?: GetFonts;
}): Promise<ApiResponse<Fonts>>;
export {};
//# sourceMappingURL=fonts.d.ts.map