import * as React from "react";
export declare function createStore<T>(fn: (set: (updater: (current: T) => Partial<T>) => void) => T): [React.FC<{
    children: React.ReactNode;
}>, <R>(selector: (state: T) => R) => R];
