import type { ThemeBreakpoints } from "./themeTypes.js"; /** * A value that can vary per breakpoint. A plain `T` is shorthand for * `{ default: T }` (inline only, no responsive overrides). * * The object form requires a `default` key and optional keys matching * `ThemeBreakpoints` (including keys added via module augmentation). */ export type ResponsiveValue = T | (Partial> & { default: T; }); /** * Returns the default (inline) value from a `ResponsiveValue`. * For a plain value, returns it directly. For an object, returns the `default` property. */ export declare function getDefaultFromResponsiveValue(value: ResponsiveValue): T; /** * Returns the default value from a `ResponsiveValue`, or `undefined` if the * input is `undefined`. Useful for extracting inline prop values from optional * theme properties. */ export declare function getDefaultOrUndefined(value: ResponsiveValue | undefined): T | undefined; /** * Returns the non-default breakpoint overrides from a `ResponsiveValue`. * For a plain value, returns an empty array. For an object, returns one * entry per breakpoint key (excluding `default`). */ export declare function getResponsiveOverrides(value: ResponsiveValue): Array<{ breakpointKey: keyof ThemeBreakpoints; value: T; }>;