import { type BemOptions } from '@js-template-engine/extension-bem'; import { type SvelteOptions } from '@js-template-engine/extension-svelte'; import { type TailwindOptions } from '@js-template-engine/extension-tailwind'; import type { Extension } from '@js-template-engine/types'; /** The framework names the CLI can render with. */ export declare const frameworkNames: readonly ["react", "vue", "svelte"]; /** The styling extension names the CLI can apply. */ export declare const stylingNames: readonly ["bem", "tailwind"]; export type FrameworkName = (typeof frameworkNames)[number]; export type StylingName = (typeof stylingNames)[number]; /** * Builds the extension list for one `process()` call. * * Styling extensions come first, in the order they were named on the * command line - the order their classes are contributed in - followed by * the framework extension, if any. * * @param framework - The framework to render with; `undefined` renders HTML. * @param styling - Styling extension names, in application order. * @param bemOptions - Options forwarded to the BEM extension factory. * @param tailwindOptions - Options forwarded to the Tailwind extension factory. * @param svelteOptions - Options forwarded to the Svelte extension factory. * @returns Extension instances ready for `process()`. */ export declare function buildExtensions(framework: FrameworkName | undefined, styling: readonly StylingName[], bemOptions?: BemOptions, tailwindOptions?: TailwindOptions, svelteOptions?: SvelteOptions): Extension[];