/**
 * 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 { DocIdentifier } from '../model/DocIdentifier';
import { Place } from '../model/Place';
import { AuthenticationProvider } from '../../icc-x-api/auth/AuthenticationProvider';
import { ListOfIds } from '../model/ListOfIds';
import { PaginatedListPlace } from '../model/PaginatedListPlace';
export declare class IccPlaceApi {
    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 place
     * @param body
     */
    createPlace(body?: Place): Promise<Place>;
    /**
     * @summary Deletes a batch of places.
     *
     * @param placeIds a ListOfIds containing the ids of the places to delete.
     * @return a Promise that will resolve in an array of DocIdentifiers of the successfully deleted places.
     */
    deletePlaces(placeIds: ListOfIds): Promise<Array<DocIdentifier>>;
    /**
     *
     * @summary Gets a place
     * @param placeId
     */
    getPlace(placeId: string): Promise<Place>;
    /**
     * @deprecated use {@link getPlacesWithPagination} instead.
     * @summary Gets all places
     */
    getPlaces(): Promise<Array<Place>>;
    /**
     * @summary Gets all places with pagination.
     * @param startDocumentId the startDocumentId provided by the previous page or undefined for the first page.
     * @param limit the number of elements that the page should contain.
     * @return a promise that will resolve in a PaginatedListPlace.
     */
    getPlacesWithPagination(startDocumentId?: string, limit?: number): Promise<PaginatedListPlace>;
    /**
     *
     * @summary Modifies an place
     * @param body
     */
    modifyPlace(body?: Place): Promise<Place>;
}
