import React from 'react'; import { Theme as MaterialTheme, ThemeOptions as MaterialThemeOptions } from "@mui/material/styles"; declare type CustomTheme = { name: string; custom?: { infoText: string; successText: string; warningText: string; errorText: string; }; }; export declare type Theme = MaterialTheme & CustomTheme; export declare type ThemeOptions = MaterialThemeOptions & CustomTheme; export declare namespace Themes { /************************************* PROVIDER *************************************/ interface ContextProps { themes: { [name: string]: Theme; }; theme: Theme; setTheme: (name: string) => void; } export const Context: React.Context; interface ProviderProps { defaultTheme?: string; themes: ThemesMap; children?: React.ReactNode | React.ReactNode[] | any; } export const Provider: React.FC; /************************************* THEMES *************************************/ export interface ThemesMap { [name: string]: any; } export {}; } export default Themes; export declare function createTheme(options?: ThemeOptions | undefined, ...args: object[]): Theme; //# sourceMappingURL=theme.d.ts.map