import { FlattenSimpleInterpolation } from 'styled-components'; import { ThemeMode } from '../core'; interface Theme { mode: ThemeMode.DARK | ThemeMode.LIGHT; } declare type ThemeObject = { theme: Theme; }; declare type ThemeType = string | FlattenSimpleInterpolation; declare const ifDarkTheme: (darkThemeStyle?: ThemeType, fallBackStyle?: ThemeType) => ({ theme }: ThemeObject) => ThemeType; export default ifDarkTheme;