import type { DeviceObservation } from "../types.js"; export interface OptimisticProperty { /** The optimistic value while a command is outstanding, else the last confirmed value. */ value: T | undefined; /** Whether an optimistic override is currently standing in for the confirmed value. */ pending: boolean; /** The error from the most recently rejected/failed command, if any. */ error: string | null; /** Requests `next` be actuated — reflected immediately, reconciled or reverted per design.md D12/D21/D31. */ setValue: (next: T) => void; } export declare function useOptimisticDeviceProperty(qualifiedId: string, property: string, confirmedValue: T | undefined, observation: DeviceObservation): OptimisticProperty; //# sourceMappingURL=use-optimistic-property.d.ts.map