/**
 * Block Theming Types
 *
 * Type definitions for Tier 3 (block-specific) CSS variable generation.
 */
import type { Theme } from '../schema';
export type BlockVarGeneratorTheme = Pick<Theme, 'corners' | 'motion'>;
/**
 * Context passed to block var generators.
 * Contains the theme read surface and themeId for scoped CSS generation.
 */
export interface BlockVarGeneratorContext {
    theme: BlockVarGeneratorTheme;
    themeId: string;
}
/**
 * Block var generator function signature.
 * Returns CSS string with block-specific variable definitions.
 */
export type BlockVarGenerator = (context: BlockVarGeneratorContext) => string;
/**
 * Registry of block var generators keyed by block kind.
 * Block kind matches the `data-block` attribute (e.g., "event-registration").
 */
export type BlockVarRegistry = Map<string, BlockVarGenerator>;
/**
 * User-defined block custom variables.
 * Keyed by block kind, with bare CSS variable values.
 */
export type BlockCustomVars = Record<string, Record<string, string>>;
