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