import * as React from "react";
import { StylingOverrideUtil, IStyles } from "./styling";
export interface IInjectedStylingProps {
    styling: StylingOverrideUtil;
}
export interface IWithStylingProps {
    propStyles?: IStyles;
}
export interface IWithStylingState {
    styleUtil: StylingOverrideUtil;
}
declare const withStyling: <P extends IInjectedStylingProps>(Component: React.ComponentType<P>) => {
    new (props: any): {
        render(): JSX.Element;
        context: any;
        setState<K extends "styleUtil">(state: IWithStylingState | ((prevState: Readonly<IWithStylingState>, props: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>) => IWithStylingState | Pick<IWithStylingState, K> | null) | Pick<IWithStylingState, K> | null, callback?: (() => void) | undefined): void;
        forceUpdate(callback?: (() => void) | undefined): void;
        readonly props: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<IWithStylingState>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, nextState: Readonly<IWithStylingState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, prevState: Readonly<IWithStylingState>): any;
        componentDidUpdate?(prevProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, prevState: Readonly<IWithStylingState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, nextState: Readonly<IWithStylingState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<P, import("utility-types").SetDifference<keyof P, "styling">> & IWithStylingProps>, nextState: Readonly<IWithStylingState>, nextContext: any): void;
    };
    contextType?: React.Context<any> | undefined;
};
export { withStyling };
