export interface SetSpaceEntityNsfwProps { spaceId: string; entityId: string; nsfw: boolean; } interface SetSpaceEntityNsfwResponse { message: string; nsfw: boolean; } /** * Hook to set the NSFW flag on an entity within a space. * Requires space moderator permissions. * * @example * const setSpaceEntityNsfw = useSetSpaceEntityNsfw(); * * await setSpaceEntityNsfw({ * spaceId: "space-uuid", * entityId: "entity-uuid", * nsfw: true, * }); */ declare function useSetSpaceEntityNsfw(): (props: SetSpaceEntityNsfwProps) => Promise; export default useSetSpaceEntityNsfw;