import type { Renew, StateRefStore, ManualSyncStore } from '../types'; /** * createStore - The argument is the initial value of the state * * Can work with primitive types, or you can work with object types. * The return value is the "watch" function. * * example> * const watch = createStore(7) * // const watch = createStore<{name: string; age: number;}>({ name: 'brown', age: 38 }) * const stateRef = watch(stateRef => { * console.log(stateRef.value)); * }); */ export declare function createStore(orignalValue: V): (renew?: Renew>, userOption?: { cache?: boolean | undefined; editable?: boolean | undefined; } | undefined) => StateRefStore; export declare function createStoreManualSync(orignalValue: V): ManualSyncStore;