import { Store } from "./base"; type Validator = (value: T) => Promise; export declare const optimistic: (onValidate?: Validator) => (store: Store) => Store; export {};