import { CSSObject } from '@emotion/serialize';
import { unstable_TypographyDefinition, type DataType, type Breakpoints, type DeviceOverride } from '@makeswift/controls';
import { Typography } from '../../../api';
import { ColorValue } from '../../../components/utils/types';
export declare function typographyFragementToTypographyControlData(fragment: Typography | null): DataType<unstable_TypographyDefinition> | undefined;
type EnhancedColor = {
    color?: ColorValue;
};
export type TypographyControlDataValue = Exclude<DataType<unstable_TypographyDefinition>, undefined>['style'][number]['value'];
type EnhancedTypographyValue = Omit<TypographyControlDataValue, keyof EnhancedColor> & EnhancedColor;
export type EnhancedTypography = Array<DeviceOverride<EnhancedTypographyValue>>;
export declare function getTypographyStyleSwatchIds(style: Exclude<DataType<unstable_TypographyDefinition>, undefined>['style'] | Typography['style'] | null | undefined): string[];
/**
 * `enhanced` here just means typography ids have been replaced with the related entity.
 */
export default function useEnhancedTypography(data?: DataType<unstable_TypographyDefinition> | null): EnhancedTypography;
export declare function typographyCss(breakpoints: Breakpoints, style: EnhancedTypography): CSSObject;
export declare function useTypographyClassName(value: EnhancedTypography): string;
export {};
//# sourceMappingURL=typography.d.ts.map