import type { ObservableInput } from 'rxjs'; import { type ObservableStateReturnType } from './useObservableState.js'; /** * React hook that subscribes to an `ObservableInput` and tracks its latest * value, error, and completion state. * * @template TType - The value type. * @template E - The error type. * @template TInitial - The initial value type. * @param input - Any `ObservableInput` (Promise, array, observable, etc.). * @param initial - An initial value to use before the first emission. * @returns An object with `value`, `error`, and `complete` properties. */ export declare function useObservableInputState(input: ObservableInput, initial: TType): ObservableStateReturnType;