import type { CollaborativeStr } from 'collaborative-editor'; export interface CollaborativeInputProps extends React.InputHTMLAttributes { /** Ref to the input element. */ inp?: (el: HTMLInputElement | HTMLTextAreaElement | null) => void; /** JSON CRDT "str" node API. */ str: () => CollaborativeStr; /** * Whether to poll for updates the underlying or