Flarum (v1.8.10)
    Preparing search index...
    userControls: {
        controls(user: User, context: Component<any, any>): ItemList<Children>;
        deleteAction(user: User): void;
        destructiveControls(user: User): ItemList<Children>;
        editAction(user: User): void;
        moderationControls(user: User): ItemList<Children>;
        showDeletionAlert(user: User, type: string): void;
        userControls(): ItemList<Children>;
    }

    The UserControls utility constructs a list of buttons for a user which perform actions on it.

    Type Declaration