import { ChartState, InitStoreState, ActionFunc, StoreOptions, ComputedFunc, WatchFunc, StoreModule, ObserveFunc, Options } from "../../types/store/store"; export default class Store { state: ChartState; initStoreState: InitStoreState; computed: Record; actions: Record; constructor(initStoreState: InitStoreState); setRootState(state: Partial>): void; setComputed(namePath: string, fn: ComputedFunc, holder?: any): void; setWatch(namePath: string, fn: WatchFunc): Function | null; setAction(name: string, fn: ActionFunc): void; dispatch(name: string, payload?: any, isInvisible?: boolean): void; observe(fn: ObserveFunc): Function; observable(target: Record): Record; notifyByPath(namePath: string): void; notify, K extends keyof T>(target: T, key: K): void; setModule(name: string | StoreModule, param?: StoreOptions | StoreModule): void; setValue(target: Record, key: string, source: Record): void; } export declare function extend>(target: T, source: Partial): void;