UNPKG

studiocms

Version:

Astro Native CMS for AstroDB. Built from the ground up by the Astro community.

19 lines (18 loc) 903 B
import type { StudioCMSPlugin } from '../../plugins.js'; export declare const webVitalsNameList: string[]; /** * Checks for the presence of the Web Vitals integration and sets up the necessary configurations. * * @param params - The parameters provided by the Astro configuration setup. * @param opts - Options for configuring the Web Vitals integration. * @param opts.name - The name of the Web Vitals integration. * @param opts.verbose - A flag indicating whether to log verbose messages. * @param opts.version - The minimum version of StudioCMS required for the Web Vitals integration. * * @returns A StudioCMSPlugin object if the Web Vitals integration is enabled, otherwise null. */ export declare const checkForWebVitals: import("astro-integration-kit").HookUtility<"astro:config:setup", [opts: { name: string; verbose: boolean; version: string; }], StudioCMSPlugin | null>;