import { DesignSystem, ThemeVariant } from '../../utils/types.js'; export declare const WEBCOMPONENTS_PLATFORM: { readonly id: "webcomponents"; readonly name: "Ignite UI for Web Components"; readonly packageName: "igniteui-webcomponents"; /** * The Sass module to import for theming */ readonly themingModule: "igniteui-theming"; /** * Detection patterns in package.json dependencies */ readonly detectionPatterns: readonly ["igniteui-webcomponents", "@infragistics/igniteui-webcomponents"]; /** * No required root class (themes apply via CSS variables on :root) */ readonly rootClass: null; }; /** * Template for generating a complete Web Components theme */ export interface WebComponentsThemeTemplate { designSystem: DesignSystem; variant: ThemeVariant; primaryColor?: string; secondaryColor?: string; surfaceColor?: string; grayColor?: string; customPaletteName?: string; /** Custom font family (e.g., "'Inter', sans-serif") */ fontFamily?: string; includeTypography?: boolean; includeElevations?: boolean; includeSpacing?: boolean; } /** * Generate the file header comment for Web Components themes. */ export declare function generateWCHeader(): string[]; /** * Get the elevation preset variable for a design system. */ export declare function getWCElevationPreset(designSystem: DesignSystem): string; /** * Generate import statements for a Web Components theme. */ export declare function generateWCImports(options: { designSystem: DesignSystem; variant: ThemeVariant; hasCustomColors: boolean; includeTypography: boolean; includeElevations: boolean; }): string[]; /** * Generate CSS @property declarations for progress tracking. * These are required by some components. */ export declare function generateWCProgressProperties(indent?: string): string[]; /** * Generate :root CSS variables for theme configuration. */ export declare function generateWCRootVariables(options: { designSystem: DesignSystem; variant: ThemeVariant; usePaletteMap?: boolean; indent?: string; }): string[]; /** * Generate RTL direction support. */ export declare function generateWCRtlSupport(indent?: string): string[]; /** * Generate scrollbar customization using palette colors. */ export declare function generateWCScrollbarCustomization(designSystem: DesignSystem, indent?: string): string[]; export declare function generateWCScrollbarUtility(indent?: string): string[]; export declare function generateWCTileManagerTransitions(indent?: string): string[]; /** * Generate theming mixin calls (palette, elevations, typography, sizing, spacing). */ export declare function generateWCThemingMixins(options: { paletteVar: string; typefaceValue: string; elevationsVar: string; includeTypography: boolean; includeElevations: boolean; includeSpacing: boolean; indent?: string; addComments?: boolean; }): string[]; /** * Generate Sass code for a Web Components theme * * Web Components themes use igniteui-theming directly and call individual * mixins (palette, typography, elevations) rather than a unified theme() mixin. * * This function orchestrates smaller helper functions for: * - Header generation (generateWCHeader) * - Import statements (generateWCImports) * - Custom or preset palette themes */ export declare function generateWebComponentsThemeSass(template: WebComponentsThemeTemplate): string; /** * Render a theme example with the generator, so it can't drift from its output. */ export declare function generateWCThemeExample(comments: string[], template: WebComponentsThemeTemplate): string; /** * Example usage documentation */ export declare const WEBCOMPONENTS_USAGE_EXAMPLES: { readonly basic: string; readonly customPalette: string; readonly darkTheme: string; readonly minimalConfig: string; }; /** * Runtime theme configuration for Web Components * * Web Components support runtime theme switching via the configureTheme() function * and CSS variables. This is different from Angular which requires Sass recompilation. */ export declare const WEBCOMPONENTS_RUNTIME_CONFIG: { /** * JavaScript API for runtime theme switching */ readonly configureThemeAPI: "\nimport { configureTheme } from 'igniteui-webcomponents';\n\n// Switch to dark material theme at runtime\nconfigureTheme('material', 'dark');\n\n// Switch to light indigo theme\nconfigureTheme('indigo', 'light');\n"; /** * CSS variables that control the theme at runtime */ readonly runtimeVariables: readonly ["--ig-theme", "--ig-theme-variant"]; /** * Events dispatched during theme changes */ readonly themeChangeEvents: readonly ["igc-change-theme", "igc-changed-theme"]; };