import type { IConfigCatClient, IUser, SettingTypeOf, SettingValue } from "@configcat/sdk";
import React from "react";
export type GetValueType = <T extends SettingValue>(key: string, defaultValue: T, user?: IUser) => Promise<SettingTypeOf<T>>;
export interface WithConfigCatClientProps {
    configCatClient: IConfigCatClient;
    getValue: GetValueType;
    lastUpdated?: Date;
}
declare function withConfigCatClient<P>(WrappedComponent: React.ComponentType<P & WithConfigCatClientProps>, providerId?: string): React.ComponentType<Omit<P, keyof WithConfigCatClientProps>>;
export default withConfigCatClient;
