Flarum (v1.8.10)
    Preparing search index...
    postControls: {
        controls(post: Post, context: Component<any, any>): ItemList<Children>;
        deleteAction(context: any): Promise<void>;
        destructiveControls(
            post: Post,
            context: Component<any, any>,
        ): ItemList<Children>;
        editAction(): Promise<void>;
        hideAction(): Promise<void>;
        moderationControls(
            post: Post,
            context: Component<any, any>,
        ): ItemList<Children>;
        restoreAction(): Promise<void>;
        userControls(post: Post, context: Component<any, any>): ItemList<Children>;
    }

    The PostControls utility constructs a list of buttons for a post which perform actions on it.

    Type Declaration