import * as React from 'react'; import * as styledComponents from 'styled-components'; import { ThemedCssFunction, ThemedStyledProps, InterpolationFunction } from 'styled-components'; import { PreciseTheme, PreciseFullTheme, Omit } from '../common'; declare const styled: styledComponents.ThemedStyledInterface, css: styledComponents.ThemedCssFunction, keyframes: (strings: TemplateStringsArray | styledComponents.CSSKeyframes, ...interpolations: styledComponents.SimpleInterpolation[]) => styledComponents.Keyframes, createGlobalStyle:

(first: styledComponents.CSSObject | TemplateStringsArray | styledComponents.InterpolationFunction>, ...interpolations: styledComponents.Interpolation>[]) => styledComponents.GlobalStyleComponent, withTheme: styledComponents.WithThemeFnInterface, ThemeProvider: styledComponents.ThemeProviderComponent, ThemeConsumer: React.Consumer, ThemeContext: React.Context, isStyledComponent: typeof styledComponents.isStyledComponent, ServerStyleSheet: typeof styledComponents.ServerStyleSheet, StyleSheetManager: typeof styledComponents.StyleSheetManager; export declare type WithOptionalTheme

= Omit & { theme?: T; }; export declare type PreciseInterpolationFunc = InterpolationFunction, Theme>>; export declare const themed: (interpolation: PreciseInterpolationFunc) => (props: styledComponents.ThemedStyledProps) => styledComponents.Interpolation, PreciseFullTheme>>; export { css, keyframes, createGlobalStyle, withTheme, ThemeProvider, ThemeConsumer, ThemeContext, isStyledComponent, ServerStyleSheet, StyleSheetManager, ThemedCssFunction, }; export default styled;