import * as z from 'zod'; import { workspaceConfigSchema, colorsSchema, themeColorsSchema, darkColorsSchema, lightColorsSchema, multiColorsSchema, organizationSchema, singleColorsSchema, variantSchema } from './schema.js'; import 'zod/v4/mini'; type DarkThemeColors = z.infer; type DarkThemeColorsInput = z.input; type LightThemeColors = z.infer; type LightThemeColorsInput = z.input; type MultiThemeColors = z.infer; type MultiThemeColorsInput = z.input; type SingleThemeColors = z.infer; type SingleThemeColorsInput = z.input; type Colors = z.infer; type ColorsInput = z.input; type ColorsMap = z.infer; type ColorsMapInput = z.input; type OrganizationConfig = z.infer; type OrganizationConfigInput = z.input; type Variant = z.infer; type VariantInput = z.input; type TStormWorkspaceConfig = z.infer; type StormWorkspaceConfigInput = z.input; /** * The Storm workspace's configuration object * * @remarks * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`. * * @deprecated * This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead. */ type StormConfig = TStormWorkspaceConfig & { extensions: (TStormWorkspaceConfig["extensions"] & { [extensionName in TExtensionName]: TExtensionConfig; }) | NonNullable>; }; /** * The Storm workspace's configuration object * * @remarks * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`. */ type StormWorkspaceConfig = StormConfig; export type { Colors, ColorsInput, ColorsMap, ColorsMapInput, DarkThemeColors, DarkThemeColorsInput, LightThemeColors, LightThemeColorsInput, MultiThemeColors, MultiThemeColorsInput, OrganizationConfig, OrganizationConfigInput, SingleThemeColors, SingleThemeColorsInput, StormConfig, StormWorkspaceConfig, StormWorkspaceConfigInput, Variant, VariantInput };