import type { DmModel } from '@towns-protocol/sdk'; import { type ObservableConfig } from './useObservable'; /** * Hook to get the data of a DM. * You can use this hook to get DM metadata and if the user has joined the DM. * @param streamId - The id of the DM to get the data of. * @param config - Configuration options for the observable. * @returns The DmModel of the DM. */ export declare const useDm: (streamId: string, config?: ObservableConfig.FromData) => import("./useObservable").ObservableValue; //# sourceMappingURL=useDm.d.ts.map