igniteui-theming
Version:
A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.
868 lines (867 loc) • 30.3 kB
TypeScript
import { z } from 'zod';
/**
* Schema for CSS color values.
* Supports CSS Color Level 4 formats including hex, rgb, hsl, hwb, lab, lch, oklab, oklch, color(), and named colors.
*/
export declare const colorSchema: z.ZodString;
/**
* Theme variant schema - derived from VARIANTS constant.
*/
export declare const variantSchema: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
/**
* Design system schema - derived from DESIGN_SYSTEMS constant.
*/
export declare const designSystemSchema: z.ZodOptional<z.ZodEnum<["material", "bootstrap", "fluent", "indigo"]>>;
/**
* Elevation preset schema - derived from ELEVATION_PRESETS constant.
*/
export declare const elevationPresetSchema: z.ZodOptional<z.ZodEnum<["material", "indigo"]>>;
/**
* Output format schema - derived from OUTPUT_FORMATS constant.
*/
export declare const outputFormatSchema: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
/**
* Size keyword schema for layout tools.
*/
export declare const sizeKeywordSchema: z.ZodEnum<["small", "medium", "large"]>;
/**
* Platform schema - derived from PLATFORMS constant.
*/
export declare const platformSchema: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
/**
* Licensed package schema - for @infragistics prefixed packages.
*/
export declare const licensedSchema: z.ZodOptional<z.ZodBoolean>;
/**
* Schema for detect_platform tool.
*/
export declare const detectPlatformSchema: z.ZodObject<{
packageJsonPath: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
packageJsonPath?: string | undefined;
}, {
packageJsonPath?: string | undefined;
}>;
/**
* Schema for create_palette tool.
*/
export declare const createPaletteSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
licensed: z.ZodOptional<z.ZodBoolean>;
primary: z.ZodString;
secondary: z.ZodString;
surface: z.ZodString;
gray: z.ZodOptional<z.ZodString>;
info: z.ZodOptional<z.ZodString>;
success: z.ZodOptional<z.ZodString>;
warn: z.ZodOptional<z.ZodString>;
error: z.ZodOptional<z.ZodString>;
variant: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
name: z.ZodOptional<z.ZodString>;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
}, "strip", z.ZodTypeAny, {
primary: string;
secondary: string;
surface: string;
gray?: string | undefined;
info?: string | undefined;
success?: string | undefined;
warn?: string | undefined;
error?: string | undefined;
variant?: "light" | "dark" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
output?: "sass" | "css" | undefined;
}, {
primary: string;
secondary: string;
surface: string;
gray?: string | undefined;
info?: string | undefined;
success?: string | undefined;
warn?: string | undefined;
error?: string | undefined;
variant?: "light" | "dark" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
output?: "sass" | "css" | undefined;
}>;
/**
* Schema for type style customization.
*/
export declare const typeStyleSchema: z.ZodObject<{
fontSize: z.ZodOptional<z.ZodString>;
fontWeight: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
fontStyle: z.ZodOptional<z.ZodString>;
lineHeight: z.ZodOptional<z.ZodString>;
letterSpacing: z.ZodOptional<z.ZodString>;
textTransform: z.ZodOptional<z.ZodString>;
marginTop: z.ZodOptional<z.ZodString>;
marginBottom: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fontSize?: string | undefined;
fontWeight?: string | number | undefined;
fontStyle?: string | undefined;
lineHeight?: string | undefined;
letterSpacing?: string | undefined;
textTransform?: string | undefined;
marginTop?: string | undefined;
marginBottom?: string | undefined;
}, {
fontSize?: string | undefined;
fontWeight?: string | number | undefined;
fontStyle?: string | undefined;
lineHeight?: string | undefined;
letterSpacing?: string | undefined;
textTransform?: string | undefined;
marginTop?: string | undefined;
marginBottom?: string | undefined;
}>;
/**
* Schema for create_typography tool.
*/
export declare const createTypographySchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
licensed: z.ZodOptional<z.ZodBoolean>;
fontFamily: z.ZodString;
designSystem: z.ZodOptional<z.ZodEnum<["material", "bootstrap", "fluent", "indigo"]>>;
customScale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
fontSize: z.ZodOptional<z.ZodString>;
fontWeight: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
fontStyle: z.ZodOptional<z.ZodString>;
lineHeight: z.ZodOptional<z.ZodString>;
letterSpacing: z.ZodOptional<z.ZodString>;
textTransform: z.ZodOptional<z.ZodString>;
marginTop: z.ZodOptional<z.ZodString>;
marginBottom: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fontSize?: string | undefined;
fontWeight?: string | number | undefined;
fontStyle?: string | undefined;
lineHeight?: string | undefined;
letterSpacing?: string | undefined;
textTransform?: string | undefined;
marginTop?: string | undefined;
marginBottom?: string | undefined;
}, {
fontSize?: string | undefined;
fontWeight?: string | number | undefined;
fontStyle?: string | undefined;
lineHeight?: string | undefined;
letterSpacing?: string | undefined;
textTransform?: string | undefined;
marginTop?: string | undefined;
marginBottom?: string | undefined;
}>>>;
name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
fontFamily: string;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
customScale?: Record<string, {
fontSize?: string | undefined;
fontWeight?: string | number | undefined;
fontStyle?: string | undefined;
lineHeight?: string | undefined;
letterSpacing?: string | undefined;
textTransform?: string | undefined;
marginTop?: string | undefined;
marginBottom?: string | undefined;
}> | undefined;
}, {
fontFamily: string;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
customScale?: Record<string, {
fontSize?: string | undefined;
fontWeight?: string | number | undefined;
fontStyle?: string | undefined;
lineHeight?: string | undefined;
letterSpacing?: string | undefined;
textTransform?: string | undefined;
marginTop?: string | undefined;
marginBottom?: string | undefined;
}> | undefined;
}>;
/**
* Schema for create_elevations tool.
*/
export declare const createElevationsSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
licensed: z.ZodOptional<z.ZodBoolean>;
designSystem: z.ZodOptional<z.ZodEnum<["material", "indigo"]>>;
name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
designSystem?: "material" | "indigo" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
}, {
designSystem?: "material" | "indigo" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
}>;
/**
* Schema for create_theme tool.
*/
export declare const createThemeSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
licensed: z.ZodOptional<z.ZodBoolean>;
designSystem: z.ZodOptional<z.ZodEnum<["material", "bootstrap", "fluent", "indigo"]>>;
primaryColor: z.ZodString;
secondaryColor: z.ZodString;
surfaceColor: z.ZodString;
variant: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
name: z.ZodOptional<z.ZodString>;
fontFamily: z.ZodOptional<z.ZodString>;
includeTypography: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeElevations: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
includeSpacing: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
includeTypography: boolean;
includeElevations: boolean;
includeSpacing: boolean;
primaryColor: string;
secondaryColor: string;
surfaceColor: string;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
variant?: "light" | "dark" | undefined;
fontFamily?: string | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
}, {
primaryColor: string;
secondaryColor: string;
surfaceColor: string;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
variant?: "light" | "dark" | undefined;
includeTypography?: boolean | undefined;
includeElevations?: boolean | undefined;
includeSpacing?: boolean | undefined;
fontFamily?: string | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
}>;
/**
* Type exports inferred from schemas.
*/
export type DetectPlatformParams = z.infer<typeof detectPlatformSchema>;
export type CreatePaletteParams = z.infer<typeof createPaletteSchema>;
export type CreateTypographyParams = z.infer<typeof createTypographySchema>;
export type CreateElevationsParams = z.infer<typeof createElevationsSchema>;
export type CreateThemeParams = z.infer<typeof createThemeSchema>;
export type { DesignSystem, ElevationPreset, OutputFormat, Platform, ThemeVariant, } from '../utils/types.js';
/**
* Schema for create_custom_palette tool.
*/
export declare const createCustomPaletteSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
licensed: z.ZodOptional<z.ZodBoolean>;
variant: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
designSystem: z.ZodOptional<z.ZodEnum<["material", "bootstrap", "fluent", "indigo"]>>;
name: z.ZodOptional<z.ZodString>;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
primary: z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>;
secondary: z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>;
surface: z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>;
gray: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>>;
info: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>>;
success: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>>;
warn: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>>;
error: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
mode: z.ZodLiteral<"shades">;
baseColor: z.ZodString;
}, "strip", z.ZodTypeAny, {
mode: "shades";
baseColor: string;
}, {
mode: "shades";
baseColor: string;
}>, z.ZodObject<{
mode: z.ZodLiteral<"explicit">;
shades: z.ZodObject<Record<string, z.ZodString>, "strip", z.ZodTypeAny, {
[]: string;
}, {
[]: string;
}>;
contrastOverrides: z.ZodOptional<z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}, {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
}>]>>;
}, "strip", z.ZodTypeAny, {
primary: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
};
secondary: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
};
surface: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
};
gray?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
info?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
success?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
warn?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
error?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
variant?: "light" | "dark" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
output?: "sass" | "css" | undefined;
}, {
primary: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
};
secondary: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
};
surface: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
};
gray?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
info?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
success?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
warn?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
error?: {
mode: "shades";
baseColor: string;
} | {
shades: {
[]: string;
};
mode: "explicit";
contrastOverrides?: Record<string, string> | undefined;
} | undefined;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
variant?: "light" | "dark" | undefined;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
output?: "sass" | "css" | undefined;
}>;
export type CreateCustomPaletteParams = z.infer<typeof createCustomPaletteSchema>;
/**
* Schema for get_component_design_tokens tool.
*/
export declare const getComponentDesignTokensSchema: z.ZodObject<{
component: z.ZodString;
}, "strip", z.ZodTypeAny, {
component: string;
}, {
component: string;
}>;
/**
* Schema for create_component_theme tool.
*/
export declare const createComponentThemeSchema: z.ZodObject<{
platform: z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>;
licensed: z.ZodOptional<z.ZodBoolean>;
designSystem: z.ZodOptional<z.ZodEnum<["material", "bootstrap", "fluent", "indigo"]>>;
variant: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
component: z.ZodString;
tokens: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodNumber]>>;
selector: z.ZodOptional<z.ZodString>;
name: z.ZodOptional<z.ZodString>;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
}, "strip", z.ZodTypeAny, {
platform: "angular" | "webcomponents" | "react" | "blazor" | "generic";
tokens: Record<string, string | number>;
component: string;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
variant?: "light" | "dark" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
output?: "sass" | "css" | undefined;
selector?: string | undefined;
}, {
platform: "angular" | "webcomponents" | "react" | "blazor" | "generic";
tokens: Record<string, string | number>;
component: string;
designSystem?: "material" | "bootstrap" | "fluent" | "indigo" | undefined;
variant?: "light" | "dark" | undefined;
name?: string | undefined;
licensed?: boolean | undefined;
output?: "sass" | "css" | undefined;
selector?: string | undefined;
}>;
export type GetComponentDesignTokensParams = z.infer<typeof getComponentDesignTokensSchema>;
export type CreateComponentThemeParams = z.infer<typeof createComponentThemeSchema>;
/**
* Schema for get_color tool with validation.
* Retrieves palette colors as CSS variable references.
*/
export declare const getColorSchema: z.ZodEffects<z.ZodObject<{
color: z.ZodEnum<[string, ...string[]]>;
variant: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
contrast: z.ZodOptional<z.ZodBoolean>;
opacity: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
color: string;
variant?: string | undefined;
contrast?: boolean | undefined;
opacity?: number | undefined;
}, {
color: string;
variant?: string | undefined;
contrast?: boolean | undefined;
opacity?: number | undefined;
}>, {
color: string;
variant?: string | undefined;
contrast?: boolean | undefined;
opacity?: number | undefined;
}, {
color: string;
variant?: string | undefined;
contrast?: boolean | undefined;
opacity?: number | undefined;
}>;
export type GetColorParams = z.infer<typeof getColorSchema>;
export declare const setSizeSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
component: z.ZodOptional<z.ZodString>;
scope: z.ZodOptional<z.ZodString>;
size: z.ZodUnion<[z.ZodEnum<["small", "medium", "large"]>, z.ZodNumber]>;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
}, "strip", z.ZodTypeAny, {
size: number | "medium" | "small" | "large";
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
}, {
size: number | "medium" | "small" | "large";
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
}>;
export declare const setSpacingInputSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
component: z.ZodOptional<z.ZodString>;
scope: z.ZodOptional<z.ZodString>;
spacing: z.ZodNumber;
inline: z.ZodOptional<z.ZodNumber>;
block: z.ZodOptional<z.ZodNumber>;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
}, "strip", z.ZodTypeAny, {
spacing: number;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
inline?: number | undefined;
block?: number | undefined;
}, {
spacing: number;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
inline?: number | undefined;
block?: number | undefined;
}>;
export declare const setSpacingSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
component: z.ZodOptional<z.ZodString>;
scope: z.ZodOptional<z.ZodString>;
spacing: z.ZodNumber;
inline: z.ZodOptional<z.ZodNumber>;
block: z.ZodOptional<z.ZodNumber>;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
}, "strip", z.ZodTypeAny, {
spacing: number;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
inline?: number | undefined;
block?: number | undefined;
}, {
spacing: number;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
inline?: number | undefined;
block?: number | undefined;
}>;
export declare const setRoundnessSchema: z.ZodObject<{
platform: z.ZodOptional<z.ZodEnum<["angular", "webcomponents", "react", "blazor", "generic"]>>;
component: z.ZodOptional<z.ZodString>;
scope: z.ZodOptional<z.ZodString>;
radiusFactor: z.ZodNumber;
output: z.ZodOptional<z.ZodEnum<["sass", "css"]>>;
}, "strip", z.ZodTypeAny, {
radiusFactor: number;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
}, {
radiusFactor: number;
platform?: "angular" | "webcomponents" | "react" | "blazor" | "generic" | undefined;
output?: "sass" | "css" | undefined;
component?: string | undefined;
scope?: string | undefined;
}>;
export type SetSizeParams = z.infer<typeof setSizeSchema>;
export type SetSpacingParams = z.infer<typeof setSpacingSchema>;
export type SetRoundnessParams = z.infer<typeof setRoundnessSchema>;
/**
* Schema for read_resource tool.
*/
export declare const readResourceSchema: z.ZodObject<{
uri: z.ZodString;
}, "strip", z.ZodTypeAny, {
uri: string;
}, {
uri: string;
}>;
export type ReadResourceParams = z.infer<typeof readResourceSchema>;