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