import { STSDefaultServerToClientEvents, STSDefaultClientToServerEvents } from '@nsshunt/stssocketioutils';
import { IFhirResponse, IClassifyFhirRequestStrictParams } from './commonTypes.js';
export interface ServerToClientEvents extends STSDefaultServerToClientEvents {
}
export interface ISocketIoBaseParams {
    resource: string;
    baseUrl: string;
    principle: string;
    token: string;
    headers?: Record<string, string>;
}
export interface IPostParams extends ISocketIoBaseParams {
    resourceObject: any;
    wantsRepresentation: boolean;
}
export interface IPostParamsMultiple extends IPostParams {
    versionIdETag: string;
}
export interface IPutParams extends IPostParams {
    id: string;
    versionIdETag: string;
}
export interface IPutParamsMultiple extends IPostParams {
    versionIdETag: string;
}
export interface IPatchParams extends IPostParams {
    id: string;
    versionIdETag: string;
    contentType: string;
}
export interface IPatchParamsMultiple extends IPostParams {
    versionIdETag: string;
    contentType: string;
}
export interface IDeleteParams extends ISocketIoBaseParams {
    id: string;
    versionIdETag: string;
}
export interface IDeleteParamsMultiple extends ISocketIoBaseParams {
    versionIdETag: string;
}
export interface IGetParams extends ISocketIoBaseParams {
    id: string;
}
export interface IGetHistoryResourceParams extends ISocketIoBaseParams {
    searchUrl: URL;
    baseUrlNoParams: string;
    id: string;
}
export interface IGetHistoryResourcesParams extends ISocketIoBaseParams {
    searchUrl: URL;
    baseUrlNoParams: string;
}
export interface IGetAllFhirResourcesParams extends ISocketIoBaseParams {
    searchUrl: URL;
    baseUrlNoParams: string;
}
export interface IGetHistoryInstanceFhirResource extends IGetParams {
    id: string;
    vid: number;
}
export interface ISearchResourceParams extends ISocketIoBaseParams {
    searchUrl: URL;
    baseUrlNoParams: string;
}
export interface IGenericSearchTestingParams extends ISocketIoBaseParams {
    searchUrl: URL;
    baseUrlNoParams: string;
    queryData: any;
}
export interface IBatchOrTransactionResourcesParams extends ISocketIoBaseParams {
    resourceObject: any;
    contentType: string;
    wantsRepresentation: boolean;
}
export interface ClientToServerEvents extends STSDefaultClientToServerEvents {
    postFhirResource: (postParams: IPostParams, callback: (res: IFhirResponse) => void) => void;
    postFhirResources: (postParams: IPostParamsMultiple, callback: (res: IFhirResponse) => void) => void;
    putFhirResource: (putParams: IPutParams, callback: (data: IFhirResponse) => void) => void;
    putFhirResources: (putParams: IPutParamsMultiple, callback: (data: IFhirResponse) => void) => void;
    patchFhirResource: (patchParams: IPatchParams, callback: (data: IFhirResponse) => void) => void;
    patchFhirResources: (patchParamsMultiple: IPatchParamsMultiple, callback: (data: IFhirResponse) => void) => void;
    deleteFhirResource: (deleteParams: IDeleteParams, callback: (data: IFhirResponse) => void) => void;
    deleteFhirResources: (deleteParamsMultiple: IDeleteParamsMultiple, callback: (data: IFhirResponse) => void) => void;
    getFhirResource: (getParams: IGetParams, callback: (res: IFhirResponse) => void) => void;
    getFhirResources: (searchResourceParams: ISearchResourceParams, callback: (res: IFhirResponse) => void) => void;
    getHistoryInstanceFhirResource: (getHistoryInstanceFhirResource: IGetHistoryInstanceFhirResource, callback: (res: IFhirResponse) => void) => void;
    getHistoryFhirResource: (getHistoryResourceParams: IGetHistoryResourceParams, callback: (res: IFhirResponse) => void) => void;
    getHistoryFhirResources: (getHistoryResourcesParams: IGetHistoryResourcesParams, callback: (res: IFhirResponse) => void) => void;
    metadata: (callback: (res: IFhirResponse) => void) => void;
    allFhirResources: (getAllFhirResourcesParams: IGetAllFhirResourcesParams, callback: (data: IFhirResponse) => void) => void;
    ProcessBatchOrTransactionResources: (batchOrTransactionResourcesParams: IBatchOrTransactionResourcesParams, callback: (res: IFhirResponse) => void) => void;
    latency: (params: any, callback: (res: any) => void) => void;
    classifyFhirRequestStrict: (classifyFhirRequestStrictParams: IClassifyFhirRequestStrictParams, callback: (res: IFhirResponse) => void) => void;
    GenericSearchTesting: (genericSearchTestingParams: IGenericSearchTestingParams, callback: (res: IFhirResponse) => void) => void;
}
//# sourceMappingURL=wsevents.d.ts.map