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 use `canCreatePostV2` or 'canCreateReplyV2` instead
 * @export
 * @param channel
 * @param user
 * @returns {boolean}
 */
export declare function canPostToChannel(channel: IChannel, user?: IUser | IDiscussionsUser): boolean;
