import type React from 'react';
import type { Visibility } from '@hubspot/cms-components/fields';

export type CSSVariables = React.CSSProperties & {
  [key: `--${string}`]: string | undefined;
};

export type FieldVisibility<TNames extends string> = {
  fieldVisibility?: Partial<Record<NoInfer<TNames>, Visibility>>;
};
