
import { ComponentConfig, VariantConfig } from "../types/ComponentConfig.js";

//#region ../automated-config/dist/utils/coalesceConfigVariant.d.ts
//#region src/utils/coalesceConfigVariant.d.ts
type ConfigVariants = {
  type: 'has-sub-components';
  variants: Record<string, VariantConfig>;
} | {
  type: 'no-sub-components';
  variant: VariantConfig;
} | {
  type: 'no-variants';
};
declare function coalesceConfigVariant<C extends ComponentConfig>(config: C, variantKey: string): ConfigVariants; //#endregion
//#endregion
export { coalesceConfigVariant };