/**
 * © Copyright Outburn Ltd. 2022-2024 All Rights Reserved
 *   Project name: FUME-COMMUNITY
 */
import { AxiosInstance } from 'axios';
import { IConfig, IFhirClient } from '../../types';
export declare class FhirClient implements IFhirClient {
    protected readonly contentType: string;
    protected fhirServer?: AxiosInstance;
    protected readonly serverConfig: IConfig;
    protected readonly isStateless: boolean;
    constructor();
    private authHeader;
    private init;
    protected checkStateless(): boolean;
    read(url: string): Promise<any>;
    search(query: string, params?: object): Promise<any>;
    create(resource: object, resourceType: string): Promise<void>;
    update(resourceType: string, resourceId: string, resource: object): Promise<void>;
    simpleDelete(resourceType: string, resourceId: string): Promise<void>;
}
export declare const setFhirClient: (client: IFhirClient) => void;
export declare const getFhirClient: () => IFhirClient;
//# sourceMappingURL=client.d.ts.map