UNPKG

@opensearch-project/opensearch

Version:

The official OpenSearch client for Node.js

470 lines (371 loc) 212 kB
/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * */ /* * This file was generated from the OpenSearch API Spec. Do NOT edit it * manually. If you want to make changes, either update the spec or * modify the API generator. */ import * as Global from './_types/_global'; import * as API from './index'; import { ApiError, ApiResponse, TransportRequestOptions, TransportRequestCallback, TransportRequestPromise, } from '../lib/Transport'; declare type callbackFn<TResponse> = (err: ApiError, result: TResponse) => void; declare interface HttpRequest { path: string; querystring?: Global.Params; headers?: Record<string, any>; body?: Record<string, any> | Record<string, any>[] | string; } export default class OpenSearchAPI { asynchronousSearch: { search (params?: API.AsynchronousSearch_Search_Request, options?: TransportRequestOptions): TransportRequestPromise<API.AsynchronousSearch_Search_Response>; search (callback: callbackFn<API.AsynchronousSearch_Search_Response>): TransportRequestCallback; search (params: API.AsynchronousSearch_Search_Request, callback: callbackFn<API.AsynchronousSearch_Search_Response>): TransportRequestCallback; search (params: API.AsynchronousSearch_Search_Request, options: TransportRequestOptions, callback: callbackFn<API.AsynchronousSearch_Search_Response>): TransportRequestCallback; delete (params: API.AsynchronousSearch_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise<API.AsynchronousSearch_Delete_Response>; delete (params: API.AsynchronousSearch_Delete_Request, callback: callbackFn<API.AsynchronousSearch_Delete_Response>): TransportRequestCallback; delete (params: API.AsynchronousSearch_Delete_Request, options: TransportRequestOptions, callback: callbackFn<API.AsynchronousSearch_Delete_Response>): TransportRequestCallback; get (params: API.AsynchronousSearch_Get_Request, options?: TransportRequestOptions): TransportRequestPromise<API.AsynchronousSearch_Get_Response>; get (params: API.AsynchronousSearch_Get_Request, callback: callbackFn<API.AsynchronousSearch_Get_Response>): TransportRequestCallback; get (params: API.AsynchronousSearch_Get_Request, options: TransportRequestOptions, callback: callbackFn<API.AsynchronousSearch_Get_Response>): TransportRequestCallback; stats (params?: API.AsynchronousSearch_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise<API.AsynchronousSearch_Stats_Response>; stats (callback: callbackFn<API.AsynchronousSearch_Stats_Response>): TransportRequestCallback; stats (params: API.AsynchronousSearch_Stats_Request, callback: callbackFn<API.AsynchronousSearch_Stats_Response>): TransportRequestCallback; stats (params: API.AsynchronousSearch_Stats_Request, options: TransportRequestOptions, callback: callbackFn<API.AsynchronousSearch_Stats_Response>): TransportRequestCallback; }; cat: { help (params?: API.Cat_Help_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Help_Response>; help (callback: callbackFn<API.Cat_Help_Response>): TransportRequestCallback; help (params: API.Cat_Help_Request, callback: callbackFn<API.Cat_Help_Response>): TransportRequestCallback; help (params: API.Cat_Help_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Help_Response>): TransportRequestCallback; aliases (params?: API.Cat_Aliases_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Aliases_Response>; aliases (callback: callbackFn<API.Cat_Aliases_Response>): TransportRequestCallback; aliases (params: API.Cat_Aliases_Request, callback: callbackFn<API.Cat_Aliases_Response>): TransportRequestCallback; aliases (params: API.Cat_Aliases_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Aliases_Response>): TransportRequestCallback; allocation (params?: API.Cat_Allocation_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Allocation_Response>; allocation (callback: callbackFn<API.Cat_Allocation_Response>): TransportRequestCallback; allocation (params: API.Cat_Allocation_Request, callback: callbackFn<API.Cat_Allocation_Response>): TransportRequestCallback; allocation (params: API.Cat_Allocation_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Allocation_Response>): TransportRequestCallback; clusterManager (params?: API.Cat_ClusterManager_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_ClusterManager_Response>; clusterManager (callback: callbackFn<API.Cat_ClusterManager_Response>): TransportRequestCallback; clusterManager (params: API.Cat_ClusterManager_Request, callback: callbackFn<API.Cat_ClusterManager_Response>): TransportRequestCallback; clusterManager (params: API.Cat_ClusterManager_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_ClusterManager_Response>): TransportRequestCallback; count (params?: API.Cat_Count_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Count_Response>; count (callback: callbackFn<API.Cat_Count_Response>): TransportRequestCallback; count (params: API.Cat_Count_Request, callback: callbackFn<API.Cat_Count_Response>): TransportRequestCallback; count (params: API.Cat_Count_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Count_Response>): TransportRequestCallback; fielddata (params?: API.Cat_Fielddata_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Fielddata_Response>; fielddata (callback: callbackFn<API.Cat_Fielddata_Response>): TransportRequestCallback; fielddata (params: API.Cat_Fielddata_Request, callback: callbackFn<API.Cat_Fielddata_Response>): TransportRequestCallback; fielddata (params: API.Cat_Fielddata_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Fielddata_Response>): TransportRequestCallback; health (params?: API.Cat_Health_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Health_Response>; health (callback: callbackFn<API.Cat_Health_Response>): TransportRequestCallback; health (params: API.Cat_Health_Request, callback: callbackFn<API.Cat_Health_Response>): TransportRequestCallback; health (params: API.Cat_Health_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Health_Response>): TransportRequestCallback; indices (params?: API.Cat_Indices_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Indices_Response>; indices (callback: callbackFn<API.Cat_Indices_Response>): TransportRequestCallback; indices (params: API.Cat_Indices_Request, callback: callbackFn<API.Cat_Indices_Response>): TransportRequestCallback; indices (params: API.Cat_Indices_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Indices_Response>): TransportRequestCallback; master (params?: API.Cat_Master_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Master_Response>; master (callback: callbackFn<API.Cat_Master_Response>): TransportRequestCallback; master (params: API.Cat_Master_Request, callback: callbackFn<API.Cat_Master_Response>): TransportRequestCallback; master (params: API.Cat_Master_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Master_Response>): TransportRequestCallback; nodeattrs (params?: API.Cat_Nodeattrs_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Nodeattrs_Response>; nodeattrs (callback: callbackFn<API.Cat_Nodeattrs_Response>): TransportRequestCallback; nodeattrs (params: API.Cat_Nodeattrs_Request, callback: callbackFn<API.Cat_Nodeattrs_Response>): TransportRequestCallback; nodeattrs (params: API.Cat_Nodeattrs_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Nodeattrs_Response>): TransportRequestCallback; nodes (params?: API.Cat_Nodes_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Nodes_Response>; nodes (callback: callbackFn<API.Cat_Nodes_Response>): TransportRequestCallback; nodes (params: API.Cat_Nodes_Request, callback: callbackFn<API.Cat_Nodes_Response>): TransportRequestCallback; nodes (params: API.Cat_Nodes_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Nodes_Response>): TransportRequestCallback; pendingTasks (params?: API.Cat_PendingTasks_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_PendingTasks_Response>; pendingTasks (callback: callbackFn<API.Cat_PendingTasks_Response>): TransportRequestCallback; pendingTasks (params: API.Cat_PendingTasks_Request, callback: callbackFn<API.Cat_PendingTasks_Response>): TransportRequestCallback; pendingTasks (params: API.Cat_PendingTasks_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_PendingTasks_Response>): TransportRequestCallback; pitSegments (params?: API.Cat_PitSegments_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_PitSegments_Response>; pitSegments (callback: callbackFn<API.Cat_PitSegments_Response>): TransportRequestCallback; pitSegments (params: API.Cat_PitSegments_Request, callback: callbackFn<API.Cat_PitSegments_Response>): TransportRequestCallback; pitSegments (params: API.Cat_PitSegments_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_PitSegments_Response>): TransportRequestCallback; allPitSegments (params?: API.Cat_AllPitSegments_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_AllPitSegments_Response>; allPitSegments (callback: callbackFn<API.Cat_AllPitSegments_Response>): TransportRequestCallback; allPitSegments (params: API.Cat_AllPitSegments_Request, callback: callbackFn<API.Cat_AllPitSegments_Response>): TransportRequestCallback; allPitSegments (params: API.Cat_AllPitSegments_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_AllPitSegments_Response>): TransportRequestCallback; plugins (params?: API.Cat_Plugins_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Plugins_Response>; plugins (callback: callbackFn<API.Cat_Plugins_Response>): TransportRequestCallback; plugins (params: API.Cat_Plugins_Request, callback: callbackFn<API.Cat_Plugins_Response>): TransportRequestCallback; plugins (params: API.Cat_Plugins_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Plugins_Response>): TransportRequestCallback; recovery (params?: API.Cat_Recovery_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Recovery_Response>; recovery (callback: callbackFn<API.Cat_Recovery_Response>): TransportRequestCallback; recovery (params: API.Cat_Recovery_Request, callback: callbackFn<API.Cat_Recovery_Response>): TransportRequestCallback; recovery (params: API.Cat_Recovery_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Recovery_Response>): TransportRequestCallback; repositories (params?: API.Cat_Repositories_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Repositories_Response>; repositories (callback: callbackFn<API.Cat_Repositories_Response>): TransportRequestCallback; repositories (params: API.Cat_Repositories_Request, callback: callbackFn<API.Cat_Repositories_Response>): TransportRequestCallback; repositories (params: API.Cat_Repositories_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Repositories_Response>): TransportRequestCallback; segmentReplication (params?: API.Cat_SegmentReplication_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_SegmentReplication_Response>; segmentReplication (callback: callbackFn<API.Cat_SegmentReplication_Response>): TransportRequestCallback; segmentReplication (params: API.Cat_SegmentReplication_Request, callback: callbackFn<API.Cat_SegmentReplication_Response>): TransportRequestCallback; segmentReplication (params: API.Cat_SegmentReplication_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_SegmentReplication_Response>): TransportRequestCallback; segments (params?: API.Cat_Segments_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Segments_Response>; segments (callback: callbackFn<API.Cat_Segments_Response>): TransportRequestCallback; segments (params: API.Cat_Segments_Request, callback: callbackFn<API.Cat_Segments_Response>): TransportRequestCallback; segments (params: API.Cat_Segments_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Segments_Response>): TransportRequestCallback; shards (params?: API.Cat_Shards_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Shards_Response>; shards (callback: callbackFn<API.Cat_Shards_Response>): TransportRequestCallback; shards (params: API.Cat_Shards_Request, callback: callbackFn<API.Cat_Shards_Response>): TransportRequestCallback; shards (params: API.Cat_Shards_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Shards_Response>): TransportRequestCallback; snapshots (params?: API.Cat_Snapshots_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Snapshots_Response>; snapshots (callback: callbackFn<API.Cat_Snapshots_Response>): TransportRequestCallback; snapshots (params: API.Cat_Snapshots_Request, callback: callbackFn<API.Cat_Snapshots_Response>): TransportRequestCallback; snapshots (params: API.Cat_Snapshots_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Snapshots_Response>): TransportRequestCallback; tasks (params?: API.Cat_Tasks_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Tasks_Response>; tasks (callback: callbackFn<API.Cat_Tasks_Response>): TransportRequestCallback; tasks (params: API.Cat_Tasks_Request, callback: callbackFn<API.Cat_Tasks_Response>): TransportRequestCallback; tasks (params: API.Cat_Tasks_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Tasks_Response>): TransportRequestCallback; templates (params?: API.Cat_Templates_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_Templates_Response>; templates (callback: callbackFn<API.Cat_Templates_Response>): TransportRequestCallback; templates (params: API.Cat_Templates_Request, callback: callbackFn<API.Cat_Templates_Response>): TransportRequestCallback; templates (params: API.Cat_Templates_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_Templates_Response>): TransportRequestCallback; threadPool (params?: API.Cat_ThreadPool_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cat_ThreadPool_Response>; threadPool (callback: callbackFn<API.Cat_ThreadPool_Response>): TransportRequestCallback; threadPool (params: API.Cat_ThreadPool_Request, callback: callbackFn<API.Cat_ThreadPool_Response>): TransportRequestCallback; threadPool (params: API.Cat_ThreadPool_Request, options: TransportRequestOptions, callback: callbackFn<API.Cat_ThreadPool_Response>): TransportRequestCallback; }; cluster: { allocationExplain (params?: API.Cluster_AllocationExplain_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_AllocationExplain_Response>; allocationExplain (callback: callbackFn<API.Cluster_AllocationExplain_Response>): TransportRequestCallback; allocationExplain (params: API.Cluster_AllocationExplain_Request, callback: callbackFn<API.Cluster_AllocationExplain_Response>): TransportRequestCallback; allocationExplain (params: API.Cluster_AllocationExplain_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_AllocationExplain_Response>): TransportRequestCallback; deleteDecommissionAwareness (params?: API.Cluster_DeleteDecommissionAwareness_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_DeleteDecommissionAwareness_Response>; deleteDecommissionAwareness (callback: callbackFn<API.Cluster_DeleteDecommissionAwareness_Response>): TransportRequestCallback; deleteDecommissionAwareness (params: API.Cluster_DeleteDecommissionAwareness_Request, callback: callbackFn<API.Cluster_DeleteDecommissionAwareness_Response>): TransportRequestCallback; deleteDecommissionAwareness (params: API.Cluster_DeleteDecommissionAwareness_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_DeleteDecommissionAwareness_Response>): TransportRequestCallback; getDecommissionAwareness (params: API.Cluster_GetDecommissionAwareness_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_GetDecommissionAwareness_Response>; getDecommissionAwareness (params: API.Cluster_GetDecommissionAwareness_Request, callback: callbackFn<API.Cluster_GetDecommissionAwareness_Response>): TransportRequestCallback; getDecommissionAwareness (params: API.Cluster_GetDecommissionAwareness_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_GetDecommissionAwareness_Response>): TransportRequestCallback; putDecommissionAwareness (params: API.Cluster_PutDecommissionAwareness_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_PutDecommissionAwareness_Response>; putDecommissionAwareness (params: API.Cluster_PutDecommissionAwareness_Request, callback: callbackFn<API.Cluster_PutDecommissionAwareness_Response>): TransportRequestCallback; putDecommissionAwareness (params: API.Cluster_PutDecommissionAwareness_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_PutDecommissionAwareness_Response>): TransportRequestCallback; health (params?: API.Cluster_Health_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_Health_Response>; health (callback: callbackFn<API.Cluster_Health_Response>): TransportRequestCallback; health (params: API.Cluster_Health_Request, callback: callbackFn<API.Cluster_Health_Response>): TransportRequestCallback; health (params: API.Cluster_Health_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_Health_Response>): TransportRequestCallback; pendingTasks (params?: API.Cluster_PendingTasks_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_PendingTasks_Response>; pendingTasks (callback: callbackFn<API.Cluster_PendingTasks_Response>): TransportRequestCallback; pendingTasks (params: API.Cluster_PendingTasks_Request, callback: callbackFn<API.Cluster_PendingTasks_Response>): TransportRequestCallback; pendingTasks (params: API.Cluster_PendingTasks_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_PendingTasks_Response>): TransportRequestCallback; reroute (params?: API.Cluster_Reroute_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_Reroute_Response>; reroute (callback: callbackFn<API.Cluster_Reroute_Response>): TransportRequestCallback; reroute (params: API.Cluster_Reroute_Request, callback: callbackFn<API.Cluster_Reroute_Response>): TransportRequestCallback; reroute (params: API.Cluster_Reroute_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_Reroute_Response>): TransportRequestCallback; getWeightedRouting (params: API.Cluster_GetWeightedRouting_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_GetWeightedRouting_Response>; getWeightedRouting (params: API.Cluster_GetWeightedRouting_Request, callback: callbackFn<API.Cluster_GetWeightedRouting_Response>): TransportRequestCallback; getWeightedRouting (params: API.Cluster_GetWeightedRouting_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_GetWeightedRouting_Response>): TransportRequestCallback; putWeightedRouting (params: API.Cluster_PutWeightedRouting_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_PutWeightedRouting_Response>; putWeightedRouting (params: API.Cluster_PutWeightedRouting_Request, callback: callbackFn<API.Cluster_PutWeightedRouting_Response>): TransportRequestCallback; putWeightedRouting (params: API.Cluster_PutWeightedRouting_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_PutWeightedRouting_Response>): TransportRequestCallback; deleteWeightedRouting (params?: API.Cluster_DeleteWeightedRouting_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_DeleteWeightedRouting_Response>; deleteWeightedRouting (callback: callbackFn<API.Cluster_DeleteWeightedRouting_Response>): TransportRequestCallback; deleteWeightedRouting (params: API.Cluster_DeleteWeightedRouting_Request, callback: callbackFn<API.Cluster_DeleteWeightedRouting_Response>): TransportRequestCallback; deleteWeightedRouting (params: API.Cluster_DeleteWeightedRouting_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_DeleteWeightedRouting_Response>): TransportRequestCallback; getSettings (params?: API.Cluster_GetSettings_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_GetSettings_Response>; getSettings (callback: callbackFn<API.Cluster_GetSettings_Response>): TransportRequestCallback; getSettings (params: API.Cluster_GetSettings_Request, callback: callbackFn<API.Cluster_GetSettings_Response>): TransportRequestCallback; getSettings (params: API.Cluster_GetSettings_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_GetSettings_Response>): TransportRequestCallback; putSettings (params: API.Cluster_PutSettings_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_PutSettings_Response>; putSettings (params: API.Cluster_PutSettings_Request, callback: callbackFn<API.Cluster_PutSettings_Response>): TransportRequestCallback; putSettings (params: API.Cluster_PutSettings_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_PutSettings_Response>): TransportRequestCallback; state (params?: API.Cluster_State_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_State_Response>; state (callback: callbackFn<API.Cluster_State_Response>): TransportRequestCallback; state (params: API.Cluster_State_Request, callback: callbackFn<API.Cluster_State_Response>): TransportRequestCallback; state (params: API.Cluster_State_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_State_Response>): TransportRequestCallback; stats (params?: API.Cluster_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_Stats_Response>; stats (callback: callbackFn<API.Cluster_Stats_Response>): TransportRequestCallback; stats (params: API.Cluster_Stats_Request, callback: callbackFn<API.Cluster_Stats_Response>): TransportRequestCallback; stats (params: API.Cluster_Stats_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_Stats_Response>): TransportRequestCallback; deleteVotingConfigExclusions (params?: API.Cluster_DeleteVotingConfigExclusions_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_DeleteVotingConfigExclusions_Response>; deleteVotingConfigExclusions (callback: callbackFn<API.Cluster_DeleteVotingConfigExclusions_Response>): TransportRequestCallback; deleteVotingConfigExclusions (params: API.Cluster_DeleteVotingConfigExclusions_Request, callback: callbackFn<API.Cluster_DeleteVotingConfigExclusions_Response>): TransportRequestCallback; deleteVotingConfigExclusions (params: API.Cluster_DeleteVotingConfigExclusions_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_DeleteVotingConfigExclusions_Response>): TransportRequestCallback; postVotingConfigExclusions (params?: API.Cluster_PostVotingConfigExclusions_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_PostVotingConfigExclusions_Response>; postVotingConfigExclusions (callback: callbackFn<API.Cluster_PostVotingConfigExclusions_Response>): TransportRequestCallback; postVotingConfigExclusions (params: API.Cluster_PostVotingConfigExclusions_Request, callback: callbackFn<API.Cluster_PostVotingConfigExclusions_Response>): TransportRequestCallback; postVotingConfigExclusions (params: API.Cluster_PostVotingConfigExclusions_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_PostVotingConfigExclusions_Response>): TransportRequestCallback; getComponentTemplate (params?: API.Cluster_GetComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_GetComponentTemplate_Response>; getComponentTemplate (callback: callbackFn<API.Cluster_GetComponentTemplate_Response>): TransportRequestCallback; getComponentTemplate (params: API.Cluster_GetComponentTemplate_Request, callback: callbackFn<API.Cluster_GetComponentTemplate_Response>): TransportRequestCallback; getComponentTemplate (params: API.Cluster_GetComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_GetComponentTemplate_Response>): TransportRequestCallback; deleteComponentTemplate (params: API.Cluster_DeleteComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_DeleteComponentTemplate_Response>; deleteComponentTemplate (params: API.Cluster_DeleteComponentTemplate_Request, callback: callbackFn<API.Cluster_DeleteComponentTemplate_Response>): TransportRequestCallback; deleteComponentTemplate (params: API.Cluster_DeleteComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_DeleteComponentTemplate_Response>): TransportRequestCallback; existsComponentTemplate (params: API.Cluster_ExistsComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_ExistsComponentTemplate_Response>; existsComponentTemplate (params: API.Cluster_ExistsComponentTemplate_Request, callback: callbackFn<API.Cluster_ExistsComponentTemplate_Response>): TransportRequestCallback; existsComponentTemplate (params: API.Cluster_ExistsComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_ExistsComponentTemplate_Response>): TransportRequestCallback; putComponentTemplate (params: API.Cluster_PutComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_PutComponentTemplate_Response>; putComponentTemplate (params: API.Cluster_PutComponentTemplate_Request, callback: callbackFn<API.Cluster_PutComponentTemplate_Response>): TransportRequestCallback; putComponentTemplate (params: API.Cluster_PutComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_PutComponentTemplate_Response>): TransportRequestCallback; remoteInfo (params?: API.Cluster_RemoteInfo_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Cluster_RemoteInfo_Response>; remoteInfo (callback: callbackFn<API.Cluster_RemoteInfo_Response>): TransportRequestCallback; remoteInfo (params: API.Cluster_RemoteInfo_Request, callback: callbackFn<API.Cluster_RemoteInfo_Response>): TransportRequestCallback; remoteInfo (params: API.Cluster_RemoteInfo_Request, options: TransportRequestOptions, callback: callbackFn<API.Cluster_RemoteInfo_Response>): TransportRequestCallback; }; danglingIndices: { listDanglingIndices (params?: API.DanglingIndices_ListDanglingIndices_Request, options?: TransportRequestOptions): TransportRequestPromise<API.DanglingIndices_ListDanglingIndices_Response>; listDanglingIndices (callback: callbackFn<API.DanglingIndices_ListDanglingIndices_Response>): TransportRequestCallback; listDanglingIndices (params: API.DanglingIndices_ListDanglingIndices_Request, callback: callbackFn<API.DanglingIndices_ListDanglingIndices_Response>): TransportRequestCallback; listDanglingIndices (params: API.DanglingIndices_ListDanglingIndices_Request, options: TransportRequestOptions, callback: callbackFn<API.DanglingIndices_ListDanglingIndices_Response>): TransportRequestCallback; deleteDanglingIndex (params: API.DanglingIndices_DeleteDanglingIndex_Request, options?: TransportRequestOptions): TransportRequestPromise<API.DanglingIndices_DeleteDanglingIndex_Response>; deleteDanglingIndex (params: API.DanglingIndices_DeleteDanglingIndex_Request, callback: callbackFn<API.DanglingIndices_DeleteDanglingIndex_Response>): TransportRequestCallback; deleteDanglingIndex (params: API.DanglingIndices_DeleteDanglingIndex_Request, options: TransportRequestOptions, callback: callbackFn<API.DanglingIndices_DeleteDanglingIndex_Response>): TransportRequestCallback; importDanglingIndex (params: API.DanglingIndices_ImportDanglingIndex_Request, options?: TransportRequestOptions): TransportRequestPromise<API.DanglingIndices_ImportDanglingIndex_Response>; importDanglingIndex (params: API.DanglingIndices_ImportDanglingIndex_Request, callback: callbackFn<API.DanglingIndices_ImportDanglingIndex_Response>): TransportRequestCallback; importDanglingIndex (params: API.DanglingIndices_ImportDanglingIndex_Request, options: TransportRequestOptions, callback: callbackFn<API.DanglingIndices_ImportDanglingIndex_Response>): TransportRequestCallback; }; flowFramework: { create (params?: API.FlowFramework_Create_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Create_Response>; create (callback: callbackFn<API.FlowFramework_Create_Response>): TransportRequestCallback; create (params: API.FlowFramework_Create_Request, callback: callbackFn<API.FlowFramework_Create_Response>): TransportRequestCallback; create (params: API.FlowFramework_Create_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Create_Response>): TransportRequestCallback; search (params: API.FlowFramework_Search_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Search_Response>; search (params: API.FlowFramework_Search_Request, callback: callbackFn<API.FlowFramework_Search_Response>): TransportRequestCallback; search (params: API.FlowFramework_Search_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Search_Response>): TransportRequestCallback; getSteps (params?: API.FlowFramework_GetSteps_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_GetSteps_Response>; getSteps (callback: callbackFn<API.FlowFramework_GetSteps_Response>): TransportRequestCallback; getSteps (params: API.FlowFramework_GetSteps_Request, callback: callbackFn<API.FlowFramework_GetSteps_Response>): TransportRequestCallback; getSteps (params: API.FlowFramework_GetSteps_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_GetSteps_Response>): TransportRequestCallback; delete (params: API.FlowFramework_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Delete_Response>; delete (params: API.FlowFramework_Delete_Request, callback: callbackFn<API.FlowFramework_Delete_Response>): TransportRequestCallback; delete (params: API.FlowFramework_Delete_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Delete_Response>): TransportRequestCallback; get (params: API.FlowFramework_Get_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Get_Response>; get (params: API.FlowFramework_Get_Request, callback: callbackFn<API.FlowFramework_Get_Response>): TransportRequestCallback; get (params: API.FlowFramework_Get_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Get_Response>): TransportRequestCallback; update (params: API.FlowFramework_Update_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Update_Response>; update (params: API.FlowFramework_Update_Request, callback: callbackFn<API.FlowFramework_Update_Response>): TransportRequestCallback; update (params: API.FlowFramework_Update_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Update_Response>): TransportRequestCallback; deprovision (params: API.FlowFramework_Deprovision_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Deprovision_Response>; deprovision (params: API.FlowFramework_Deprovision_Request, callback: callbackFn<API.FlowFramework_Deprovision_Response>): TransportRequestCallback; deprovision (params: API.FlowFramework_Deprovision_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Deprovision_Response>): TransportRequestCallback; provision (params: API.FlowFramework_Provision_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_Provision_Response>; provision (params: API.FlowFramework_Provision_Request, callback: callbackFn<API.FlowFramework_Provision_Response>): TransportRequestCallback; provision (params: API.FlowFramework_Provision_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_Provision_Response>): TransportRequestCallback; getStatus (params: API.FlowFramework_GetStatus_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_GetStatus_Response>; getStatus (params: API.FlowFramework_GetStatus_Request, callback: callbackFn<API.FlowFramework_GetStatus_Response>): TransportRequestCallback; getStatus (params: API.FlowFramework_GetStatus_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_GetStatus_Response>): TransportRequestCallback; searchState (params: API.FlowFramework_SearchState_Request, options?: TransportRequestOptions): TransportRequestPromise<API.FlowFramework_SearchState_Response>; searchState (params: API.FlowFramework_SearchState_Request, callback: callbackFn<API.FlowFramework_SearchState_Response>): TransportRequestCallback; searchState (params: API.FlowFramework_SearchState_Request, options: TransportRequestOptions, callback: callbackFn<API.FlowFramework_SearchState_Response>): TransportRequestCallback; }; indices: { getAlias (params?: API.Indices_GetAlias_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_GetAlias_Response>; getAlias (callback: callbackFn<API.Indices_GetAlias_Response>): TransportRequestCallback; getAlias (params: API.Indices_GetAlias_Request, callback: callbackFn<API.Indices_GetAlias_Response>): TransportRequestCallback; getAlias (params: API.Indices_GetAlias_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_GetAlias_Response>): TransportRequestCallback; putAlias (params?: API.Indices_PutAlias_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_PutAlias_Response>; putAlias (callback: callbackFn<API.Indices_PutAlias_Response>): TransportRequestCallback; putAlias (params: API.Indices_PutAlias_Request, callback: callbackFn<API.Indices_PutAlias_Response>): TransportRequestCallback; putAlias (params: API.Indices_PutAlias_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_PutAlias_Response>): TransportRequestCallback; existsAlias (params: API.Indices_ExistsAlias_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_ExistsAlias_Response>; existsAlias (params: API.Indices_ExistsAlias_Request, callback: callbackFn<API.Indices_ExistsAlias_Response>): TransportRequestCallback; existsAlias (params: API.Indices_ExistsAlias_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_ExistsAlias_Response>): TransportRequestCallback; updateAliases (params: API.Indices_UpdateAliases_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_UpdateAliases_Response>; updateAliases (params: API.Indices_UpdateAliases_Request, callback: callbackFn<API.Indices_UpdateAliases_Response>): TransportRequestCallback; updateAliases (params: API.Indices_UpdateAliases_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_UpdateAliases_Response>): TransportRequestCallback; analyze (params?: API.Indices_Analyze_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Analyze_Response>; analyze (callback: callbackFn<API.Indices_Analyze_Response>): TransportRequestCallback; analyze (params: API.Indices_Analyze_Request, callback: callbackFn<API.Indices_Analyze_Response>): TransportRequestCallback; analyze (params: API.Indices_Analyze_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Analyze_Response>): TransportRequestCallback; clearCache (params?: API.Indices_ClearCache_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_ClearCache_Response>; clearCache (callback: callbackFn<API.Indices_ClearCache_Response>): TransportRequestCallback; clearCache (params: API.Indices_ClearCache_Request, callback: callbackFn<API.Indices_ClearCache_Response>): TransportRequestCallback; clearCache (params: API.Indices_ClearCache_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_ClearCache_Response>): TransportRequestCallback; getDataStream (params?: API.Indices_GetDataStream_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_GetDataStream_Response>; getDataStream (callback: callbackFn<API.Indices_GetDataStream_Response>): TransportRequestCallback; getDataStream (params: API.Indices_GetDataStream_Request, callback: callbackFn<API.Indices_GetDataStream_Response>): TransportRequestCallback; getDataStream (params: API.Indices_GetDataStream_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_GetDataStream_Response>): TransportRequestCallback; dataStreamsStats (params?: API.Indices_DataStreamsStats_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_DataStreamsStats_Response>; dataStreamsStats (callback: callbackFn<API.Indices_DataStreamsStats_Response>): TransportRequestCallback; dataStreamsStats (params: API.Indices_DataStreamsStats_Request, callback: callbackFn<API.Indices_DataStreamsStats_Response>): TransportRequestCallback; dataStreamsStats (params: API.Indices_DataStreamsStats_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_DataStreamsStats_Response>): TransportRequestCallback; deleteDataStream (params: API.Indices_DeleteDataStream_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_DeleteDataStream_Response>; deleteDataStream (params: API.Indices_DeleteDataStream_Request, callback: callbackFn<API.Indices_DeleteDataStream_Response>): TransportRequestCallback; deleteDataStream (params: API.Indices_DeleteDataStream_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_DeleteDataStream_Response>): TransportRequestCallback; createDataStream (params: API.Indices_CreateDataStream_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_CreateDataStream_Response>; createDataStream (params: API.Indices_CreateDataStream_Request, callback: callbackFn<API.Indices_CreateDataStream_Response>): TransportRequestCallback; createDataStream (params: API.Indices_CreateDataStream_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_CreateDataStream_Response>): TransportRequestCallback; flush (params?: API.Indices_Flush_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Flush_Response>; flush (callback: callbackFn<API.Indices_Flush_Response>): TransportRequestCallback; flush (params: API.Indices_Flush_Request, callback: callbackFn<API.Indices_Flush_Response>): TransportRequestCallback; flush (params: API.Indices_Flush_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Flush_Response>): TransportRequestCallback; forcemerge (params?: API.Indices_Forcemerge_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Forcemerge_Response>; forcemerge (callback: callbackFn<API.Indices_Forcemerge_Response>): TransportRequestCallback; forcemerge (params: API.Indices_Forcemerge_Request, callback: callbackFn<API.Indices_Forcemerge_Response>): TransportRequestCallback; forcemerge (params: API.Indices_Forcemerge_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Forcemerge_Response>): TransportRequestCallback; getIndexTemplate (params?: API.Indices_GetIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_GetIndexTemplate_Response>; getIndexTemplate (callback: callbackFn<API.Indices_GetIndexTemplate_Response>): TransportRequestCallback; getIndexTemplate (params: API.Indices_GetIndexTemplate_Request, callback: callbackFn<API.Indices_GetIndexTemplate_Response>): TransportRequestCallback; getIndexTemplate (params: API.Indices_GetIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_GetIndexTemplate_Response>): TransportRequestCallback; simulateTemplate (params?: API.Indices_SimulateTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_SimulateTemplate_Response>; simulateTemplate (callback: callbackFn<API.Indices_SimulateTemplate_Response>): TransportRequestCallback; simulateTemplate (params: API.Indices_SimulateTemplate_Request, callback: callbackFn<API.Indices_SimulateTemplate_Response>): TransportRequestCallback; simulateTemplate (params: API.Indices_SimulateTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_SimulateTemplate_Response>): TransportRequestCallback; simulateIndexTemplate (params: API.Indices_SimulateIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_SimulateIndexTemplate_Response>; simulateIndexTemplate (params: API.Indices_SimulateIndexTemplate_Request, callback: callbackFn<API.Indices_SimulateIndexTemplate_Response>): TransportRequestCallback; simulateIndexTemplate (params: API.Indices_SimulateIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_SimulateIndexTemplate_Response>): TransportRequestCallback; deleteIndexTemplate (params: API.Indices_DeleteIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_DeleteIndexTemplate_Response>; deleteIndexTemplate (params: API.Indices_DeleteIndexTemplate_Request, callback: callbackFn<API.Indices_DeleteIndexTemplate_Response>): TransportRequestCallback; deleteIndexTemplate (params: API.Indices_DeleteIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_DeleteIndexTemplate_Response>): TransportRequestCallback; existsIndexTemplate (params: API.Indices_ExistsIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_ExistsIndexTemplate_Response>; existsIndexTemplate (params: API.Indices_ExistsIndexTemplate_Request, callback: callbackFn<API.Indices_ExistsIndexTemplate_Response>): TransportRequestCallback; existsIndexTemplate (params: API.Indices_ExistsIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_ExistsIndexTemplate_Response>): TransportRequestCallback; putIndexTemplate (params: API.Indices_PutIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_PutIndexTemplate_Response>; putIndexTemplate (params: API.Indices_PutIndexTemplate_Request, callback: callbackFn<API.Indices_PutIndexTemplate_Response>): TransportRequestCallback; putIndexTemplate (params: API.Indices_PutIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_PutIndexTemplate_Response>): TransportRequestCallback; getMapping (params?: API.Indices_GetMapping_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_GetMapping_Response>; getMapping (callback: callbackFn<API.Indices_GetMapping_Response>): TransportRequestCallback; getMapping (params: API.Indices_GetMapping_Request, callback: callbackFn<API.Indices_GetMapping_Response>): TransportRequestCallback; getMapping (params: API.Indices_GetMapping_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_GetMapping_Response>): TransportRequestCallback; getFieldMapping (params: API.Indices_GetFieldMapping_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_GetFieldMapping_Response>; getFieldMapping (params: API.Indices_GetFieldMapping_Request, callback: callbackFn<API.Indices_GetFieldMapping_Response>): TransportRequestCallback; getFieldMapping (params: API.Indices_GetFieldMapping_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_GetFieldMapping_Response>): TransportRequestCallback; recovery (params?: API.Indices_Recovery_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Recovery_Response>; recovery (callback: callbackFn<API.Indices_Recovery_Response>): TransportRequestCallback; recovery (params: API.Indices_Recovery_Request, callback: callbackFn<API.Indices_Recovery_Response>): TransportRequestCallback; recovery (params: API.Indices_Recovery_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Recovery_Response>): TransportRequestCallback; refresh (params?: API.Indices_Refresh_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Refresh_Response>; refresh (callback: callbackFn<API.Indices_Refresh_Response>): TransportRequestCallback; refresh (params: API.Indices_Refresh_Request, callback: callbackFn<API.Indices_Refresh_Response>): TransportRequestCallback; refresh (params: API.Indices_Refresh_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Refresh_Response>): TransportRequestCallback; resolveIndex (params: API.Indices_ResolveIndex_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_ResolveIndex_Response>; resolveIndex (params: API.Indices_ResolveIndex_Request, callback: callbackFn<API.Indices_ResolveIndex_Response>): TransportRequestCallback; resolveIndex (params: API.Indices_ResolveIndex_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_ResolveIndex_Response>): TransportRequestCallback; segments (params?: API.Indices_Segments_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Segments_Response>; segments (callback: callbackFn<API.Indices_Segments_Response>): TransportRequestCallback; segments (params: API.Indices_Segments_Request, callback: callbackFn<API.Indices_Segments_Response>): TransportRequestCallback; segments (params: API.Indices_Segments_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Segments_Response>): TransportRequestCallback; getSettings (params?: API.Indices_GetSettings_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_GetSettings_Response>; getSettings (callback: callbackFn<API.Indices_GetSettings_Response>): TransportRequestCallback; getSettings (params: API.Indices_GetSettings_Request, callback: callbackFn<API.Indices_GetSettings_Response>): TransportRequestCallback; getSettings (params: API.Indices_GetSettings_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_GetSettings_Response>): TransportRequestCallback; putSettings (params: API.Indices_PutSettings_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_PutSettings_Response>; putSettings (params: API.Indices_PutSettings_Request, callback: callbackFn<API.Indices_PutSettings_Response>): TransportRequestCallback; putSettings (params: API.Indices_PutSettings_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_PutSettings_Response>): TransportRequestCallback; shardStores (params?: API.Indices_ShardStores_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_ShardStores_Response>; shardStores (callback: callbackFn<API.Indices_ShardStores_Response>): TransportRequestCallback; shardStores (params: API.Indices_ShardStores_Request, callback: callbackFn<API.Indices_ShardStores_Response>): TransportRequestCallback; shardStores (params: API.Indices_ShardStores_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_ShardStores_Response>): TransportRequestCallback; stats (params?: API.Indices_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise<API.Indices_Stats_Response>; stats (callback: callbackFn<API.Indices_Stats_Response>): TransportRequestCallback; stats (params: API.Indices_Stats_Request, callback: callbackFn<API.Indices_Stats_Response>): TransportRequestCallback; stats (params: API.Indices_Stats_Request, options: TransportRequestOptions, callback: callbackFn<API.Indices_Stats_Response>): TransportRequestC