import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientReadableStream, type ClientUnaryCall, type handleServerStreamingCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js"; import { AboutInformation, ActivateLicenseRequest, AppEventArgs, CheckEntitlementRequest, CheckEntitlementResponse, EnableRemoteConnectionsRequest, ExtensionInfo, ExtensionInfos, GenerateCertificateRequest, GenerateCertificateResponse, GetExtensionInfoRequest, GetLicensesResponse, GetLogLevelResponse, InstallExtensionRequest, LicenseInformation, LogMessages, RemoteConnectionsConfig, SetLogLevelRequest, UninstallExtensionRequest } from "./app_params"; import { Empty } from "./google/protobuf/empty"; /** * The application service. This service is responsible for settings and functions that is global * to the complete application. */ export type AppServiceService = typeof AppServiceService; export declare const AppServiceService: { /** * Starts a subscription for application events. * @returns A stream of AppEventArgs messages. */ readonly subscribeForEvents: { readonly path: "/appservice.AppService/SubscribeForEvents"; readonly requestStream: false; readonly responseStream: true; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: AppEventArgs) => Buffer; readonly responseDeserialize: (value: Buffer) => AppEventArgs; }; /** * Stops the subscription for application events. * @returns An empty response message. */ readonly unsubscribeFromEvents: { readonly path: "/appservice.AppService/UnsubscribeFromEvents"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Starts a subscription for log messages. * @returns A stream of log messages. */ readonly subscribeForLogMessages: { readonly path: "/appservice.AppService/SubscribeForLogMessages"; readonly requestStream: false; readonly responseStream: true; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: LogMessages) => Buffer; readonly responseDeserialize: (value: Buffer) => LogMessages; }; /** * Stops the subscription for log messages. * @returns An empty response message. */ readonly unsubscribeFromLogMessages: { readonly path: "/appservice.AppService/UnsubscribeFromLogMessages"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Gets the current log level. * @returns A response message with the current log level. */ readonly getLogLevel: { readonly path: "/appservice.AppService/GetLogLevel"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: GetLogLevelResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => GetLogLevelResponse; }; /** * Sets a new log level. * @param request A request message with the new log level. * @returns An empty response message. */ readonly setLogLevel: { readonly path: "/appservice.AppService/SetLogLevel"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: SetLogLevelRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => SetLogLevelRequest; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Asks the service to be shutdown. * @returns An empty response message. */ readonly shutdown: { readonly path: "/appservice.AppService/Shutdown"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Asks the service to install a GUI or service extension. * @param request A request message with a service extension .wasm-file, or a GUI extension Node.js package file (.tgz file). * @returns A response message with the installed extension information. */ readonly installExtension: { readonly path: "/appservice.AppService/InstallExtension"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: InstallExtensionRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => InstallExtensionRequest; readonly responseSerialize: (value: ExtensionInfo) => Buffer; readonly responseDeserialize: (value: Buffer) => ExtensionInfo; }; /** * Asks the service to uninstall a GUI or service extension. * @param request A request message with a GUI or service extension name. * @returns An empty response message. */ readonly uninstallExtension: { readonly path: "/appservice.AppService/UninstallExtension"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UninstallExtensionRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => UninstallExtensionRequest; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Gets information about all installed extensions. * @returns A response message with all installed extensions information. */ readonly getInstalledExtensions: { readonly path: "/appservice.AppService/GetInstalledExtensions"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: ExtensionInfos) => Buffer; readonly responseDeserialize: (value: Buffer) => ExtensionInfos; }; /** * Gets an extension's information. * @param request A request message with a service extension .wasm-file, a GUI extension Node.js package file (.tgz file), * or an installed extension's name. * @returns A response message with the extension information. */ readonly getExtensionInfo: { readonly path: "/appservice.AppService/GetExtensionInfo"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetExtensionInfoRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GetExtensionInfoRequest; readonly responseSerialize: (value: ExtensionInfo) => Buffer; readonly responseDeserialize: (value: Buffer) => ExtensionInfo; }; /** * Gets all registered licenses. * @returns A response message with all registered licenses. */ readonly getLicenses: { readonly path: "/appservice.AppService/GetLicenses"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: GetLicensesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => GetLicensesResponse; }; /** * Asks the service to activate a license. * @param request A request message with the license key. * @returns A response message with license information. */ readonly activateLicense: { readonly path: "/appservice.AppService/ActivateLicense"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ActivateLicenseRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ActivateLicenseRequest; readonly responseSerialize: (value: LicenseInformation) => Buffer; readonly responseDeserialize: (value: Buffer) => LicenseInformation; }; /** * Asks the service to check a license. * @param request A request message with the license key. * @returns A response message with license information. */ readonly checkLicense: { readonly path: "/appservice.AppService/CheckLicense"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ActivateLicenseRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => ActivateLicenseRequest; readonly responseSerialize: (value: LicenseInformation) => Buffer; readonly responseDeserialize: (value: Buffer) => LicenseInformation; }; /** * Checks whether a valid license currently grants use of the specified product. Used by the * CanKing Desktop application to grant/revoke extension entitlements at runtime. * @param request A request message with the product identifier to check. * @returns A response message with the entitlement status and a re-validation deadline. */ readonly checkEntitlement: { readonly path: "/appservice.AppService/CheckEntitlement"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CheckEntitlementRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => CheckEntitlementRequest; readonly responseSerialize: (value: CheckEntitlementResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => CheckEntitlementResponse; }; /** * Asks the service for about information. * @returns A response with about information. */ readonly getAbout: { readonly path: "/appservice.AppService/GetAbout"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: AboutInformation) => Buffer; readonly responseDeserialize: (value: Buffer) => AboutInformation; }; /** * Asks the service to generate a self-signed TLS certificate and store it securely. * @param request Hostname, optional IP, output path, password, and validity days. * @returns The path where the PFX was saved and the public certificate bytes. */ readonly generateCertificate: { readonly path: "/appservice.AppService/GenerateCertificate"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GenerateCertificateRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => GenerateCertificateRequest; readonly responseSerialize: (value: GenerateCertificateResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => GenerateCertificateResponse; }; /** * Enables remote HTTPS connections by updating service configuration, then restarts the service. * @param request Certificate path, optional password, port, and optional API key. * @returns An empty response. */ readonly enableRemoteConnections: { readonly path: "/appservice.AppService/EnableRemoteConnections"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: EnableRemoteConnectionsRequest) => Buffer; readonly requestDeserialize: (value: Buffer) => EnableRemoteConnectionsRequest; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Disables remote HTTPS connections by updating service configuration, then restarts the service. * @returns An empty response. */ readonly disableRemoteConnections: { readonly path: "/appservice.AppService/DisableRemoteConnections"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: Empty) => Buffer; readonly responseDeserialize: (value: Buffer) => Empty; }; /** * Gets the current remote connections configuration. * @returns The current remote connections configuration. */ readonly getRemoteConnectionsConfig: { readonly path: "/appservice.AppService/GetRemoteConnectionsConfig"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: Empty) => Buffer; readonly requestDeserialize: (value: Buffer) => Empty; readonly responseSerialize: (value: RemoteConnectionsConfig) => Buffer; readonly responseDeserialize: (value: Buffer) => RemoteConnectionsConfig; }; }; export interface AppServiceServer extends UntypedServiceImplementation { /** * Starts a subscription for application events. * @returns A stream of AppEventArgs messages. */ subscribeForEvents: handleServerStreamingCall; /** * Stops the subscription for application events. * @returns An empty response message. */ unsubscribeFromEvents: handleUnaryCall; /** * Starts a subscription for log messages. * @returns A stream of log messages. */ subscribeForLogMessages: handleServerStreamingCall; /** * Stops the subscription for log messages. * @returns An empty response message. */ unsubscribeFromLogMessages: handleUnaryCall; /** * Gets the current log level. * @returns A response message with the current log level. */ getLogLevel: handleUnaryCall; /** * Sets a new log level. * @param request A request message with the new log level. * @returns An empty response message. */ setLogLevel: handleUnaryCall; /** * Asks the service to be shutdown. * @returns An empty response message. */ shutdown: handleUnaryCall; /** * Asks the service to install a GUI or service extension. * @param request A request message with a service extension .wasm-file, or a GUI extension Node.js package file (.tgz file). * @returns A response message with the installed extension information. */ installExtension: handleUnaryCall; /** * Asks the service to uninstall a GUI or service extension. * @param request A request message with a GUI or service extension name. * @returns An empty response message. */ uninstallExtension: handleUnaryCall; /** * Gets information about all installed extensions. * @returns A response message with all installed extensions information. */ getInstalledExtensions: handleUnaryCall; /** * Gets an extension's information. * @param request A request message with a service extension .wasm-file, a GUI extension Node.js package file (.tgz file), * or an installed extension's name. * @returns A response message with the extension information. */ getExtensionInfo: handleUnaryCall; /** * Gets all registered licenses. * @returns A response message with all registered licenses. */ getLicenses: handleUnaryCall; /** * Asks the service to activate a license. * @param request A request message with the license key. * @returns A response message with license information. */ activateLicense: handleUnaryCall; /** * Asks the service to check a license. * @param request A request message with the license key. * @returns A response message with license information. */ checkLicense: handleUnaryCall; /** * Checks whether a valid license currently grants use of the specified product. Used by the * CanKing Desktop application to grant/revoke extension entitlements at runtime. * @param request A request message with the product identifier to check. * @returns A response message with the entitlement status and a re-validation deadline. */ checkEntitlement: handleUnaryCall; /** * Asks the service for about information. * @returns A response with about information. */ getAbout: handleUnaryCall; /** * Asks the service to generate a self-signed TLS certificate and store it securely. * @param request Hostname, optional IP, output path, password, and validity days. * @returns The path where the PFX was saved and the public certificate bytes. */ generateCertificate: handleUnaryCall; /** * Enables remote HTTPS connections by updating service configuration, then restarts the service. * @param request Certificate path, optional password, port, and optional API key. * @returns An empty response. */ enableRemoteConnections: handleUnaryCall; /** * Disables remote HTTPS connections by updating service configuration, then restarts the service. * @returns An empty response. */ disableRemoteConnections: handleUnaryCall; /** * Gets the current remote connections configuration. * @returns The current remote connections configuration. */ getRemoteConnectionsConfig: handleUnaryCall; } export interface AppServiceClient extends Client { /** * Starts a subscription for application events. * @returns A stream of AppEventArgs messages. */ subscribeForEvents(request: Empty, options?: Partial): ClientReadableStream; subscribeForEvents(request: Empty, metadata?: Metadata, options?: Partial): ClientReadableStream; /** * Stops the subscription for application events. * @returns An empty response message. */ unsubscribeFromEvents(request: Empty, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; unsubscribeFromEvents(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; unsubscribeFromEvents(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Starts a subscription for log messages. * @returns A stream of log messages. */ subscribeForLogMessages(request: Empty, options?: Partial): ClientReadableStream; subscribeForLogMessages(request: Empty, metadata?: Metadata, options?: Partial): ClientReadableStream; /** * Stops the subscription for log messages. * @returns An empty response message. */ unsubscribeFromLogMessages(request: Empty, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; unsubscribeFromLogMessages(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; unsubscribeFromLogMessages(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Gets the current log level. * @returns A response message with the current log level. */ getLogLevel(request: Empty, callback: (error: ServiceError | null, response: GetLogLevelResponse) => void): ClientUnaryCall; getLogLevel(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: GetLogLevelResponse) => void): ClientUnaryCall; getLogLevel(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: GetLogLevelResponse) => void): ClientUnaryCall; /** * Sets a new log level. * @param request A request message with the new log level. * @returns An empty response message. */ setLogLevel(request: SetLogLevelRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; setLogLevel(request: SetLogLevelRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; setLogLevel(request: SetLogLevelRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Asks the service to be shutdown. * @returns An empty response message. */ shutdown(request: Empty, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; shutdown(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; shutdown(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Asks the service to install a GUI or service extension. * @param request A request message with a service extension .wasm-file, or a GUI extension Node.js package file (.tgz file). * @returns A response message with the installed extension information. */ installExtension(request: InstallExtensionRequest, callback: (error: ServiceError | null, response: ExtensionInfo) => void): ClientUnaryCall; installExtension(request: InstallExtensionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ExtensionInfo) => void): ClientUnaryCall; installExtension(request: InstallExtensionRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ExtensionInfo) => void): ClientUnaryCall; /** * Asks the service to uninstall a GUI or service extension. * @param request A request message with a GUI or service extension name. * @returns An empty response message. */ uninstallExtension(request: UninstallExtensionRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; uninstallExtension(request: UninstallExtensionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; uninstallExtension(request: UninstallExtensionRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Gets information about all installed extensions. * @returns A response message with all installed extensions information. */ getInstalledExtensions(request: Empty, callback: (error: ServiceError | null, response: ExtensionInfos) => void): ClientUnaryCall; getInstalledExtensions(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: ExtensionInfos) => void): ClientUnaryCall; getInstalledExtensions(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ExtensionInfos) => void): ClientUnaryCall; /** * Gets an extension's information. * @param request A request message with a service extension .wasm-file, a GUI extension Node.js package file (.tgz file), * or an installed extension's name. * @returns A response message with the extension information. */ getExtensionInfo(request: GetExtensionInfoRequest, callback: (error: ServiceError | null, response: ExtensionInfo) => void): ClientUnaryCall; getExtensionInfo(request: GetExtensionInfoRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ExtensionInfo) => void): ClientUnaryCall; getExtensionInfo(request: GetExtensionInfoRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: ExtensionInfo) => void): ClientUnaryCall; /** * Gets all registered licenses. * @returns A response message with all registered licenses. */ getLicenses(request: Empty, callback: (error: ServiceError | null, response: GetLicensesResponse) => void): ClientUnaryCall; getLicenses(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: GetLicensesResponse) => void): ClientUnaryCall; getLicenses(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: GetLicensesResponse) => void): ClientUnaryCall; /** * Asks the service to activate a license. * @param request A request message with the license key. * @returns A response message with license information. */ activateLicense(request: ActivateLicenseRequest, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall; activateLicense(request: ActivateLicenseRequest, metadata: Metadata, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall; activateLicense(request: ActivateLicenseRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall; /** * Asks the service to check a license. * @param request A request message with the license key. * @returns A response message with license information. */ checkLicense(request: ActivateLicenseRequest, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall; checkLicense(request: ActivateLicenseRequest, metadata: Metadata, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall; checkLicense(request: ActivateLicenseRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: LicenseInformation) => void): ClientUnaryCall; /** * Checks whether a valid license currently grants use of the specified product. Used by the * CanKing Desktop application to grant/revoke extension entitlements at runtime. * @param request A request message with the product identifier to check. * @returns A response message with the entitlement status and a re-validation deadline. */ checkEntitlement(request: CheckEntitlementRequest, callback: (error: ServiceError | null, response: CheckEntitlementResponse) => void): ClientUnaryCall; checkEntitlement(request: CheckEntitlementRequest, metadata: Metadata, callback: (error: ServiceError | null, response: CheckEntitlementResponse) => void): ClientUnaryCall; checkEntitlement(request: CheckEntitlementRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: CheckEntitlementResponse) => void): ClientUnaryCall; /** * Asks the service for about information. * @returns A response with about information. */ getAbout(request: Empty, callback: (error: ServiceError | null, response: AboutInformation) => void): ClientUnaryCall; getAbout(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: AboutInformation) => void): ClientUnaryCall; getAbout(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: AboutInformation) => void): ClientUnaryCall; /** * Asks the service to generate a self-signed TLS certificate and store it securely. * @param request Hostname, optional IP, output path, password, and validity days. * @returns The path where the PFX was saved and the public certificate bytes. */ generateCertificate(request: GenerateCertificateRequest, callback: (error: ServiceError | null, response: GenerateCertificateResponse) => void): ClientUnaryCall; generateCertificate(request: GenerateCertificateRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GenerateCertificateResponse) => void): ClientUnaryCall; generateCertificate(request: GenerateCertificateRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: GenerateCertificateResponse) => void): ClientUnaryCall; /** * Enables remote HTTPS connections by updating service configuration, then restarts the service. * @param request Certificate path, optional password, port, and optional API key. * @returns An empty response. */ enableRemoteConnections(request: EnableRemoteConnectionsRequest, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; enableRemoteConnections(request: EnableRemoteConnectionsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; enableRemoteConnections(request: EnableRemoteConnectionsRequest, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Disables remote HTTPS connections by updating service configuration, then restarts the service. * @returns An empty response. */ disableRemoteConnections(request: Empty, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; disableRemoteConnections(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; disableRemoteConnections(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: Empty) => void): ClientUnaryCall; /** * Gets the current remote connections configuration. * @returns The current remote connections configuration. */ getRemoteConnectionsConfig(request: Empty, callback: (error: ServiceError | null, response: RemoteConnectionsConfig) => void): ClientUnaryCall; getRemoteConnectionsConfig(request: Empty, metadata: Metadata, callback: (error: ServiceError | null, response: RemoteConnectionsConfig) => void): ClientUnaryCall; getRemoteConnectionsConfig(request: Empty, metadata: Metadata, options: Partial, callback: (error: ServiceError | null, response: RemoteConnectionsConfig) => void): ClientUnaryCall; } export declare const AppServiceClient: { new (address: string, credentials: ChannelCredentials, options?: Partial): AppServiceClient; service: typeof AppServiceService; serviceName: string; };