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