//
// Copyright 2023 DXOS.org
//
import { useDevtools, useStream } from '@dxos/react-client/devtools';
export const useMetadata = () => {
    const devtoolsHost = useDevtools();
    const metadata = useStream(() => devtoolsHost.subscribeToMetadata(), {}).metadata;
    return metadata;
};
//# sourceMappingURL=useMetadata.js.map