import { ViewModel, ViewModelState } from '@farris/devkit-vue';
import { FormLoadingService } from './form-loading.service';
import { RuntimeFrameworkService } from './rtf.service';

export declare class DiscussionGroupService {
    private viewModel;
    private loadingService;
    private runtimeFrameworkService;
    constructor(viewModel: ViewModel<ViewModelState>, loadingService: FormLoadingService, runtimeFrameworkService: RuntimeFrameworkService);
    addComment(id?: string, summary?: string, configId?: string, text?: string, visibility?: string, parentId?: string): void;
    /**
     * 查询评论
     * @param id id
     */
    queryComments(id: string, configId: string, pageIndex?: number | null, pageSize?: number | null): void;
    /**
     * 查询所有部门信息
     */
    queryAllOrgs(): void;
    /**
     * 查询常用@用户
     * @param pageIndex
     * @param pageSize
     */
    queryFrequentAtUsers(pageIndex?: number | null, pageSize?: number | null): void;
    /**
     * 获取at用户列表
     * @param user 用户编号或者用户名称（过滤使用）
     * @param pageIndex pageIndex
     * @param pageSize pageSize
     */
    queryAtUsers(user?: string, pageIndex?: number | null, pageSize?: number | null): void;
    /**
     * 构造获取评论列表的url
     * @param id id
     */
    private buildQueryCommentsUrl;
}
