type CancelFn = () => void; type Subscriber = (value: T) => void | CancelFn; export interface Store { set: (val: T) => void; read: () => T; readInitial: () => T; subscribe: (sub: Subscriber) => () => void; } /** * Creates a new Suspense ready Store */ export declare const createStore: (initialValue: T) => Store; export {};