import type { Ref } from 'vue'; import type { RemoteFieldChange } from '#cwa/resources/model-editors'; import type { FocusedPeer } from '#cwa/admin/presence'; export type { FocusedPeer } from '#cwa/admin/presence'; interface ResourceModelOps { longWaitThreshold?: number; debounceTime?: number; } export declare const useCwaResourceModel: (iri: Ref, property: string | string[], ops?: ResourceModelOps) => { states: { pendingSubmit: Ref; submitting: Ref; isBusy: import("vue").ComputedRef; isLongWait: Ref; }; resetValue: (resetIri?: string) => void; model: import("vue").WritableComputedRef; localValueWithIri: Ref<{ [iri: string]: T | null | undefined; }, { [iri: string]: T | null | undefined; }>; remoteChange: import("vue").ComputedRef | undefined>; focus: () => void; blur: () => void; focusedBy: import("vue").ComputedRef; focusListeners: { onFocusin: () => void; onFocusout: (event: FocusEvent) => void; onPointerdown: (event: PointerEvent) => void; }; };