import type { IConfigCatClient, SettingTypeOf, SettingValue, IUser } from "@configcat/sdk"; import React from "react"; export type GetValueType = (key: string, defaultValue: T, user?: IUser) => Promise>; export interface WithConfigCatClientProps { configCatClient: IConfigCatClient; getValue: GetValueType; lastUpdated?: Date; } declare function withConfigCatClient

(WrappedComponent: React.ComponentType

, providerId?: string): React.ComponentType>; export default withConfigCatClient;