import 'rollup-plugin-inject-process-env'; import { FC } from "react"; import { FormWidgetTheme } from "@xapp/stentor-form-widget-channel"; export interface WidgetStylesheetProps { readonly theme?: FormWidgetTheme; } /** * Injects the styles * * @param props * @returns */ export declare const WidgetStylesheet: FC; /** * Loads an external font by injecting a link tag into the document head * Automatically adds font-display=swap optimization for Google Fonts */ export declare function loadExternalFont(fontUrl: string): void; /** * Collects the defined theme CSS variables as [name, value] entries, skipping * empty values. */ export declare function buildStyleVariables(theme?: FormWidgetTheme): Array<[string, string]>; export declare function buildStyleContent(widgetTheme?: FormWidgetTheme): string;