import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
import type { SubmitAndWaitForReassignmentResponse } from './command_service.js';
import type { SubmitAndWaitForReassignmentRequest } from './command_service.js';
import type { SubmitAndWaitForTransactionTreeResponse } from './command_service.js';
import type { SubmitAndWaitForTransactionResponse } from './command_service.js';
import type { SubmitAndWaitForTransactionRequest } from './command_service.js';
import type { SubmitAndWaitResponse } from './command_service.js';
import type { SubmitAndWaitRequest } from './command_service.js';
import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
/**
 * Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual
 * information with each tracking result. This supports the implementation of stateless clients.
 *
 * Note that submitted commands generally produce completion events as well, even in case a command gets rejected.
 * For example, the participant SHOULD produce a completion event for a rejection of a duplicate command.
 *
 * @generated from protobuf service com.daml.ledger.api.v2.CommandService
 */
export interface ICommandServiceClient {
    /**
     * Submits a single composite command and waits for its result.
     * Propagates the gRPC error of failed submissions including Daml interpretation errors.
     *
     * @generated from protobuf rpc: SubmitAndWait
     */
    submitAndWait(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitResponse>;
    /**
     * Submits a single composite command, waits for its result, and returns the transaction.
     * Propagates the gRPC error of failed submissions including Daml interpretation errors.
     *
     * @generated from protobuf rpc: SubmitAndWaitForTransaction
     */
    submitAndWaitForTransaction(input: SubmitAndWaitForTransactionRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForTransactionRequest, SubmitAndWaitForTransactionResponse>;
    /**
     * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
     * Submits a single composite command, waits for its result, and returns the transaction tree.
     * Propagates the gRPC error of failed submissions including Daml interpretation errors.
     *
     * @deprecated
     * @generated from protobuf rpc: SubmitAndWaitForTransactionTree
     */
    submitAndWaitForTransactionTree(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitForTransactionTreeResponse>;
    /**
     * Submits a single composite reassignment command, waits for its result, and returns the reassignment.
     * Propagates the gRPC error of failed submission.
     *
     * @generated from protobuf rpc: SubmitAndWaitForReassignment
     */
    submitAndWaitForReassignment(input: SubmitAndWaitForReassignmentRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForReassignmentRequest, SubmitAndWaitForReassignmentResponse>;
}
/**
 * Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual
 * information with each tracking result. This supports the implementation of stateless clients.
 *
 * Note that submitted commands generally produce completion events as well, even in case a command gets rejected.
 * For example, the participant SHOULD produce a completion event for a rejection of a duplicate command.
 *
 * @generated from protobuf service com.daml.ledger.api.v2.CommandService
 */
export declare class CommandServiceClient implements ICommandServiceClient, ServiceInfo {
    private readonly _transport;
    typeName: string;
    methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
    options: {
        [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
    };
    constructor(_transport: RpcTransport);
    /**
     * Submits a single composite command and waits for its result.
     * Propagates the gRPC error of failed submissions including Daml interpretation errors.
     *
     * @generated from protobuf rpc: SubmitAndWait
     */
    submitAndWait(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitResponse>;
    /**
     * Submits a single composite command, waits for its result, and returns the transaction.
     * Propagates the gRPC error of failed submissions including Daml interpretation errors.
     *
     * @generated from protobuf rpc: SubmitAndWaitForTransaction
     */
    submitAndWaitForTransaction(input: SubmitAndWaitForTransactionRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForTransactionRequest, SubmitAndWaitForTransactionResponse>;
    /**
     * Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
     * Submits a single composite command, waits for its result, and returns the transaction tree.
     * Propagates the gRPC error of failed submissions including Daml interpretation errors.
     *
     * @deprecated
     * @generated from protobuf rpc: SubmitAndWaitForTransactionTree
     */
    submitAndWaitForTransactionTree(input: SubmitAndWaitRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitRequest, SubmitAndWaitForTransactionTreeResponse>;
    /**
     * Submits a single composite reassignment command, waits for its result, and returns the reassignment.
     * Propagates the gRPC error of failed submission.
     *
     * @generated from protobuf rpc: SubmitAndWaitForReassignment
     */
    submitAndWaitForReassignment(input: SubmitAndWaitForReassignmentRequest, options?: RpcOptions): UnaryCall<SubmitAndWaitForReassignmentRequest, SubmitAndWaitForReassignmentResponse>;
}
//# sourceMappingURL=command_service.client.d.ts.map