import type { AnyAction, ToPrivateAction, ToPublicAction } from 'movex-core-util'; import type { MovexResourceObservable } from './MovexResourceObservable'; /** * This is the MovexResource running on the Client * It could be used extensively in the UI hence the need to "bind" the methods * so "this" stays correct */ export declare class MovexBoundResource { private observable; rid: import("movex-core-util").ResourceIdentifier; constructor(observable: MovexResourceObservable); dispatch: (actionOrFn: ToPublicAction | ((mc: import("movex-core-util").MovexMasterContextAsQuery) => import("movex-core-util").ActionOrActionTupleFromAction)) => void; dispatchPrivate: (privateAction: ToPrivateAction, publicAction: ToPublicAction) => void; get state(): TState; get subscribers(): Record, "id" | "info">>; destroy: () => void; }