import { Agent, AgentsApi } from '@alfresco/js-api';
import { Observable } from 'rxjs';
import { AlfrescoApiService } from '../../services';
import * as i0 from "@angular/core";
export declare class AgentService {
    private apiService;
    private _agentsApi;
    private agents;
    get agentsApi(): AgentsApi;
    agents$: Observable<Agent[]>;
    constructor(apiService: AlfrescoApiService);
    /**
     * Gets all agents from cache. If cache is empty, fetches agents from backend.
     *
     * @returns Agent[] list containing agents.
     */
    getAgents(): Observable<Agent[]>;
    static ɵfac: i0.ɵɵFactoryDeclaration<AgentService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AgentService>;
}
