import * as React from 'react'; export interface ExternalProps { oocss?: string; } export interface InjectedProps { style?: Object; oocss?: any; } export interface Options { key?: string; } export declare const OOCSS: () => (Component: any) => { new (props: any): { styleObject: any[]; componentDidMount(): void; componentDidUpdate(prevProps: any): void; convertClassToStyle(classNames: any, currentClassIndex?: number): any; render(): JSX.Element; setState(state: any, callback?: () => void): void; forceUpdate(callBack?: () => void): void; props: Readonly<{ children?: React.ReactNode; }> & Readonly; state: Readonly; context: any; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; };