import { TimelinesMap } from '@towns-protocol/sdk'; import { type ObservableConfig } from './useObservable'; /** * Hook to get the threads from a stream. * * @param streamId - The id of the stream to get the threads from. * @param config - Configuration options for the observable. * @returns The threads of the stream as a map from the message eventId to a thread. */ export declare const useThreads: (streamId: string, config?: ObservableConfig.FromObservable) => import("./useObservable").ObservableValue; //# sourceMappingURL=useThreads.d.ts.map