import { IPartyManagementServiceClient } from "../generated/com/daml/ledger/api/v1/admin/party_management_service_grpc_pb";
import { Callback } from "../util/Callback";
import { ClientCancellableCall } from "../call/ClientCancellableCall";
import { PartyManagementClient } from "./PartyManagementClient";
import { GetParticipantIdResponse } from "../model/GetParticipantIdResponse";
import { ListKnownPartiesResponse } from "../model/ListKnownPartiesResponse";
import { AllocatePartyRequest } from "../model/AllocatePartyRequest";
import { AllocatePartyResponse } from "../model/AllocatePartyResponse";
import { ValidationReporter } from "../reporting/ValidationReporter";
export declare class NodeJsPartyManagementClient implements PartyManagementClient {
    private static getParticipantIdRequest;
    private static listKnownPartiesRequest;
    private readonly client;
    private readonly reporter;
    constructor(client: IPartyManagementServiceClient, reporter: ValidationReporter);
    private getParticipantIdCallback;
    private getParticipantIdPromise;
    getParticipantId(): Promise<GetParticipantIdResponse>;
    getParticipantId(callback: Callback<GetParticipantIdResponse>): ClientCancellableCall;
    private allocatePartyCallback;
    private allocatePartyPromise;
    allocateParty(requestObject: AllocatePartyRequest): Promise<AllocatePartyResponse>;
    allocateParty(requestObject: AllocatePartyRequest, callback: Callback<AllocatePartyResponse>): ClientCancellableCall;
    private listKnownPartiesCallback;
    private listKnownPartiesPromise;
    listKnownParties(): Promise<ListKnownPartiesResponse>;
    listKnownParties(callback: Callback<ListKnownPartiesResponse>): ClientCancellableCall;
}
