import { PaletteColorOptions, PaletteOptions, ThemeOptions } from '@mui/material'; import { JSONObject } from '../../dto/api/ApiDto'; export interface ICustomPalette extends PaletteOptions { google: PaletteColorOptions; facebook: PaletteColorOptions; premium: PaletteColorOptions; } export interface ICustomTheme extends ThemeOptions { palette: ICustomPalette; } export type ITheme = ICustomTheme; export interface IPaletteDto { primary: string; secondary: string; info: string; success: string; error: string; google: string; facebook: string; premium: string; } export type ModeType = 'light' | 'dark'; export declare const useTheme: (palette: JSONObject) => { mode: ModeType; theme: ICustomTheme; initTheme: (mode: ModeType) => void; switchTheme: (mode: ModeType) => () => void; };