import { IUser } from "@esri/arcgis-rest-portal";
import { IChannel, IDiscussionsUser, IPost } from "../../types";
/**
 * Utility to determine if User has privileges to delete a post
 * @deprecated replace with canDeletePostV2 for v2 discussions
 * @export
 * @param post
 * @param user
 * @param channel
 * @returns {boolean}
 */
export declare function canDeletePost(post: IPost, channel: IChannel, user?: IUser | IDiscussionsUser): boolean;
