import React, { PureComponent } from 'react'; import { NanoOptions } from '@phytonmk/nano-css'; import { CssLikeObject } from '@phytonmk/nano-css/types/common'; import { UnknownProperties } from '../core'; declare const getStylesheet: () => string; /** * Function to clear the nano CSS styles object from keys with undefined value * @param {Object} obj - nano CSS styles object * @returns {Object} */ declare function normaliseCss(obj: CssLikeObject): any; declare const WithCssContext: React.Context; declare const Provider: React.Provider; declare function initNanoCss(options?: NanoOptions): import("@phytonmk/nano-css").NanoRenderer; /** @deprecated */ export interface IEnhancedWithCSSProps extends EnhancedWithCSSProps, UnknownProperties { } export type EnhancedWithCSSProps = { className?: string; css?: {}; children(props: { className: string | undefined; }): React.ReactNode; }; declare class EnhancedWithCSS extends PureComponent { static contextType: React.Context; static defaultProps: { css: {}; }; state: { dynamicClassName: string; }; static getDerivedStateFromProps(props: any): { dynamicClassName: string | undefined; }; constructor(props: any, context: any); render(): React.ReactNode; } export { getStylesheet, EnhancedWithCSS, Provider, WithCssContext, initNanoCss, normaliseCss }; declare const _default: (options?: {} | undefined) => (WrappedComponent: React.ComponentType) => React.ComponentClass<{}, any>; export default _default;