import { ComponentClass } from 'react'; import { Theme, SinouiThemedStyledFunction } from '../types'; import { ThemedStyledInterface, ThemedCssFunction, SimpleInterpolation, ThemeProviderComponent } from 'styled-components'; import ThemeProvider from './ThemeProvider'; import useTheme from './useTheme'; declare const newStyled: ThemedStyledInterface; declare const newCss: ThemedCssFunction; declare const newKeyframs: (strings: TemplateStringsArray, ...interpolations: SimpleInterpolation[]) => string; declare const newInjectGlobal: (strings: TemplateStringsArray, ...interpolations: SimpleInterpolation[]) => void; declare type KeyofBase = keyof any; declare type Diff = ({ [P in T]: P; } & { [P in U]: never; })[T]; declare type Omit = Pick>; declare type WithOptionalTheme

= Omit & { theme?: T; }; declare const newWithTheme:

(component: React.ComponentType

) => ComponentClass>; declare function withProps(): (fn: SinouiThemedStyledFunction) => SinouiThemedStyledFunction

; export default newStyled; export { Theme, newCss as css, newInjectGlobal as injectGlobal, newKeyframs as keyframes, ThemeProvider, newWithTheme as withTheme, withProps, ThemedStyledInterface, ThemedCssFunction, SimpleInterpolation, ThemeProviderComponent, useTheme, };