import { HttpClient } from '@angular/common/http';
import { Injector } from '@angular/core';
import { ModuleConfig } from '../configs/module-config';
import { OrganizationInfo } from '../models/organization-info';
import { ResponseResult } from '../models/response-result';
import { BaseService } from './base.service';
import { ModuleConfigService } from './module-config.service';
export declare class OrganizationService extends BaseService {
    readonly ORGANIZATION_INFO_KEY = "organization_info";
    readonly RETRY_COUNT: number;
    readonly REPLAY_COUNT: number;
    readonly organizationEndpoint: any;
    readonly _moduleConfig: ModuleConfig;
    private injector;
    constructor(http: HttpClient, injector: Injector, _moduleConfigService: ModuleConfigService);
    setNguoiDaiDien(organizationId: any, idCanBo?: any): Promise<ResponseResult>;
    getOrganizationInfo(organizationId: number): Promise<OrganizationInfo>;
    handleError(error: any, injector: Injector): Promise<ResponseResult>;
    getStaffInOrganization(organizationId: any): Promise<ResponseResult>;
    getByParentId(parentId?: number, litmit?: number): Promise<ResponseResult>;
    getById(id: number): Promise<ResponseResult>;
    getOrganizationTree(organizationCode?: any): Promise<ResponseResult>;
    getMyTree(organizationCode?: any): Promise<ResponseResult>;
    getOrganizationTreeTable(isIgnoreClientCache?: boolean): Promise<ResponseResult>;
    getByParentCode(organizationCode?: any): Promise<ResponseResult>;
    getManagerByOrgCode(organizationCode?: any): Promise<ResponseResult>;
    getManagerByOrgId(organizationId?: any): Promise<ResponseResult>;
    getOrganizationByParentId(parentId: string): Promise<ResponseResult>;
}
//# sourceMappingURL=organization.service.d.ts.map