UNPKG

nuxt-og-image

Version:

Enlightened OG Image generation for Nuxt.

10 lines (9 loc) 574 B
import type { InputFontConfig, OgImageOptions, ResolvedFontConfig } from './types.js'; export declare function toBase64Image(data: string | ArrayBuffer): string; export declare function isInternalRoute(path: string): boolean; export declare function separateProps(options: OgImageOptions | undefined, ignoreKeys?: string[]): { props: Record<string, any>; }; export declare function normaliseFontInput(fonts: InputFontConfig[]): ResolvedFontConfig[]; export declare function withoutQuery(path: string): string; export declare function getExtension(path: string): string;