import { XHR } from './XHR';
import { AuthenticationProvider } from '../../icc-x-api/auth/AuthenticationProvider';
import { Role } from '../model/Role';
export declare class IccRoleApi {
    host: string;
    headers: Array<XHR.Header>;
    authenticationProvider: AuthenticationProvider;
    fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
    constructor(host: string, headers: any, authenticationProvider?: AuthenticationProvider, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise<Response>);
    handleError(e: XHR.XHRError): never;
    /**
     *
     * @summary Gets all roles
     */
    getRoles(): Promise<Array<Role>>;
}
