/**
 * iCure Data Stack API Documentation
 * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2.
 *
 * OpenAPI spec version: v1
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */
import { XHR } from './XHR';
import { Agenda } from '../model/Agenda';
import { DocIdentifier } from '../model/DocIdentifier';
import { AuthenticationProvider } from '../../icc-x-api/auth/AuthenticationProvider';
import { ListOfIds } from '../model/ListOfIds';
import { PaginatedListAgenda } from '../model/PaginatedListAgenda';
export declare class IccAgendaApi {
    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>);
    setHeaders(h: Array<XHR.Header>): void;
    handleError(e: XHR.XHRError): never;
    /**
     *
     * @summary Creates a agenda
     * @param body
     */
    createAgenda(body?: Agenda): Promise<Agenda>;
    /**
     * @summary Delete a batch of agendas by id.
     *
     * @param agendaIds a ListOfIds containing the ids of the agendas to delete.
     * @return a Promise that will resolve in an array of DocIdentifiers of the successfully deleted agendas.
     */
    deleteAgendas(agendaIds: ListOfIds): Promise<Array<DocIdentifier>>;
    /**
     * @summary Deletes a single agenda by id.
     *
     * @param agendaId the id of the agenda to delete.
     * @return a Promise that will resolve in the DocIdentifier of the deleted agenda.
     */
    deleteAgenda(agendaId: string): Promise<DocIdentifier>;
    /**
     *
     * @summary Gets an agenda
     * @param agendaId
     */
    getAgenda(agendaId: string): Promise<Agenda>;
    /**
     * @deprecated use {@link getAgendasWithPagination} instead.
     *
     * @summary Gets all agendas
     */
    getAgendas(): Promise<Array<Agenda>>;
    /**
     * @summary gets all agendas with pagination.
     *
     * @param startDocumentId the startDocumentId provided by the previous page or null if it's the first page.
     * @param limit the size of the page
     * @return a promise that will resolve in a PaginatedListAgenda.
     */
    getAgendasWithPagination(startDocumentId?: string, limit?: number): Promise<PaginatedListAgenda>;
    /**
     *
     * @summary Gets all agendas for user
     * @param userId
     */
    getAgendasForUser(userId: string): Promise<Agenda>;
    /**
     *
     * @summary Gets readable agendas for user
     * @param userId
     */
    getReadableAgendasForUser(userId: string): Promise<Array<Agenda>>;
    /**
     *
     * @summary Modifies an agenda
     * @param body
     */
    modifyAgenda(body?: Agenda): Promise<Agenda>;
}
