declare module '@esui/core/view' { interface View { theme: (_: MaterialTheme) => this; } } export interface MaterialTheme { primaryColor?: string; secondaryColor?: string; surfaceColor?: string; backgroundColor?: string; errorColor?: string; onPrimaryColor?: string; onSecondaryColor?: string; onSurfaceColor?: string; textPrimaryOnBackground?: string; textSecondaryOnBackground?: string; textHintOnBackground?: string; textDisabledOnBackground?: string; textIconOnBackground?: string; smallShapeSize?: string; mediumShapeSize?: string; largeShapeSize?: string; }