import type * as React from 'react'; import type { $DeepPartial } from '@callstack/react-theme-provider'; export declare type Font = { fontFamily: string; fontWeight?: 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'; fontStyle?: 'normal' | 'italic' | undefined; }; export declare type Fonts = { regular: Font; medium: Font; light: Font; thin: Font; }; declare type Mode = 'adaptive' | 'exact'; export declare type MD2Colors = { primary: string; background: string; surface: string; accent: string; error: string; text: string; onSurface: string; disabled: string; placeholder: string; backdrop: string; notification: string; tooltip: string; }; export declare type MD3Colors = { primary: string; primaryContainer: string; secondary: string; secondaryContainer: string; tertiary: string; tertiaryContainer: string; surface: string; surfaceVariant: string; surfaceDisabled: string; background: string; error: string; errorContainer: string; onPrimary: string; onPrimaryContainer: string; onSecondary: string; onSecondaryContainer: string; onTertiary: string; onTertiaryContainer: string; onSurface: string; onSurfaceVariant: string; onSurfaceDisabled: string; onError: string; onErrorContainer: string; onBackground: string; outline: string; outlineVariant: string; inverseSurface: string; inverseOnSurface: string; inversePrimary: string; shadow: string; scrim: string; backdrop: string; elevation: MD3ElevationColors; }; export declare type MD3AndroidColors = { primary: number; primaryContainer: number; secondary: number; secondaryContainer: number; tertiary: number; tertiaryContainer: number; surface: number; surfaceVariant: number; background: number; error: number; errorContainer: number; onPrimary: number; onPrimaryContainer: number; onSecondary: number; onSecondaryContainer: number; onTertiary: number; onTertiaryContainer: number; onSurface: number; onSurfaceVariant: number; onError: number; onErrorContainer: number; onBackground: number; outline: number; outlineVariant: number; inverseSurface: number; inverseOnSurface: number; inversePrimary: number; shadow: number; scrim: number; }; export declare type MD3Palette = {}; export declare type ThemeProp = $DeepPartial; export declare type ThemeBase = { dark: boolean; mode?: Mode; roundness: number; animation: { scale: number; defaultAnimationDuration?: number; }; }; export declare type MD3Theme = ThemeBase & { version: 3; isV3: true; colors: MD3Colors; fonts: MD3Typescale; }; export declare type MD2Theme = ThemeBase & { version: 2; isV3: false; colors: MD2Colors; fonts: Fonts; }; export declare type InternalTheme = MD2Theme | MD3Theme; export declare enum MD3TypescaleKey { displayLarge = "displayLarge", displayMedium = "displayMedium", displaySmall = "displaySmall", headlineLarge = "headlineLarge", headlineMedium = "headlineMedium", headlineSmall = "headlineSmall", titleLarge = "titleLarge", titleMedium = "titleMedium", titleSmall = "titleSmall", labelLarge = "labelLarge", labelMedium = "labelMedium", labelSmall = "labelSmall", bodyLarge = "bodyLarge", bodyMedium = "bodyMedium", bodySmall = "bodySmall" } export declare type MD3Type = { fontFamily: string; letterSpacing: number; fontWeight: Font['fontWeight']; lineHeight: number; fontSize: number; fontStyle?: Font['fontStyle']; }; export declare type MD3Typescale = { [key in MD3TypescaleKey]: MD3Type; } & { ['default']: Omit; }; export declare type MD3Elevation = 0 | 1 | 2 | 3 | 4 | 5; export declare enum ElevationLevels { 'level0' = 0, 'level1' = 1, 'level2' = 2, 'level3' = 3, 'level4' = 4, 'level5' = 5 } export declare type MD3ElevationColors = { [key in keyof typeof ElevationLevels]: string; }; export declare type $Omit = Pick>; export declare type $RemoveChildren> = $Omit, 'children'>; export declare type EllipsizeProp = 'head' | 'middle' | 'tail' | 'clip'; export declare type NavigationTheme = { dark: boolean; colors: { primary: string; background: string; card: string; text: string; border: string; notification: string; }; }; export {}; //# sourceMappingURL=types.d.ts.map