import { User } from "@blocknote/core";
/**
 * Reads users from the comments extension's user store, loading any that aren't
 * cached yet. Re-renders only when one of the requested users changes (the store
 * uses a shallow `Map` comparison).
 *
 * Comments-scoped: it reads the store the {@link CommentsExtension} builds from
 * `resolveUsers` and exposes on its instance, so it must be used within a comment
 * UI where that extension is registered.
 */
export declare function useCommentUsers<U extends User = User>(userIds: string[]): Map<string, U>;
export declare function useCommentUser<U extends User = User>(userId: string): U | undefined;
