import { TransportKind } from "../core/types/transport-kind.js"; import { GrpcChannelSecurity } from "../core/types/grpc-channel-security.js"; import { IAuthProvider } from "../core/auth/auth-provider.interface.js"; import { ICommandSigner } from "../core/signing/command-signer.interface.js"; import type { GrpcTransportError } from "../core/errors/grpc-transport-error.js"; export declare class CantonClientOptions { readonly transportKind: TransportKind; readonly ledgerEndpoint?: string; readonly ledgerAdminEndpoint?: string; readonly participantAdminEndpoint?: string; readonly grpcChannelSecurity: GrpcChannelSecurity; readonly grpcTlsRootCertificates?: Uint8Array; readonly ledgerGrpcChannelSecurity?: GrpcChannelSecurity; readonly ledgerAdminGrpcChannelSecurity?: GrpcChannelSecurity; readonly participantAdminGrpcChannelSecurity?: GrpcChannelSecurity; readonly defaultRequestTimeoutMs?: number; readonly grpcConnectTimeoutMs?: number; readonly ledgerAuthProvider?: IAuthProvider; readonly ledgerAdminAuthProvider?: IAuthProvider; readonly participantAdminAuthProvider?: IAuthProvider; readonly commandSigner?: ICommandSigner; readonly onGrpcError?: (error: GrpcTransportError) => void; constructor(init: { transportKind: TransportKind; ledgerEndpoint?: string; ledgerAdminEndpoint?: string; participantAdminEndpoint?: string; grpcChannelSecurity?: GrpcChannelSecurity; grpcTlsRootCertificates?: Uint8Array; ledgerGrpcChannelSecurity?: GrpcChannelSecurity; ledgerAdminGrpcChannelSecurity?: GrpcChannelSecurity; participantAdminGrpcChannelSecurity?: GrpcChannelSecurity; defaultRequestTimeoutMs?: number; grpcConnectTimeoutMs?: number; ledgerAuthProvider?: IAuthProvider; ledgerAdminAuthProvider?: IAuthProvider; participantAdminAuthProvider?: IAuthProvider; commandSigner?: ICommandSigner; onGrpcError?: (error: GrpcTransportError) => void; }); }