import { ForwardRefExoticComponent, PropsWithoutRef, RefAttributes } from 'react'; type AtLeastOne = [T, ...T[]]; type ContextHook = (prop?: { strict?: boolean; }) => { stateProps: React.HTMLAttributes; } | null; type ContextConfig = ContextHook | { useContext: ContextHook; strict?: boolean; }; export declare function createWithStateProps(useContexts: AtLeastOne): (Component: React.ComponentType

>) => ForwardRefExoticComponent< PropsWithoutRef

& RefAttributes>; export {}; //# sourceMappingURL=createWithStateProps.d.ts.map