import { Client , GenericParams , BulkIndexDocumentsParams , ClearScrollParams , CountParams , CreateDocumentParams , DeleteDocumentParams , DeleteDocumentByQueryParams , DeleteScriptParams , DeleteTemplateParams , ExistsParams , ExplainParams , FieldStatsParams , GetParams , GetResponse , GetScriptParams , GetSourceParams , GetTemplateParams , IndexDocumentParams , InfoParams , MGetParams , MSearchParams , MSearchTemplateParams , MTermVectorsParams , PingParams , PutScriptParams , PutTemplateParams , ReindexParams , ReindexRethrottleParams , RenderSearchTemplateParams , ScrollParams , SearchParams , SearchShardsParams , SearchTemplateParams , SuggestParams , TermvectorsParams , UpdateDocumentParams , UpdateDocumentByQueryParams , MGetResponse , MSearchResponse , SearchResponse , CatAliasesParams , CatAllocationParams , CatFielddataParams , CatHealthParams , CatHelpParams , CatIndicesParams , CatCommonParams , CatRecoveryParams , CatSegmentsParams , CatShardsParams , CatSnapshotsParams , CatTasksParams , CatThreadPoolParams , ClusterAllocationExplainParams , ClusterGetSettingsParams , ClusterHealthParams , ClusterPendingTasksParams , ClusterPutSettingsParams , ClusterRerouteParams , ClusterStateParams , ClusterStatsParams , IndicesAnalyzeParams , IndicesClearCacheParams , IndicesCloseParams , IndicesCreateParams , IndicesDeleteParams , IndicesDeleteAliasParams , IndicesDeleteTemplateParams , IndicesExistsParams , IndicesExistsAliasParams , IndicesExistsTemplateParams , IndicesExistsTypeParams , IndicesFlushParams , IndicesFlushSyncedParams , IndicesForcemergeParams , IndicesGetParams , IndicesGetAliasParams , IndicesGetFieldMappingParams , IndicesGetMappingParams , IndicesGetSettingsParams , IndicesGetTemplateParams , IndicesGetUpgradeParams , IndicesOpenParams , IndicesPutAliasParams , IndicesPutMappingParams , IndicesPutSettingsParams , IndicesPutTemplateParams , IndicesRecoveryParams , IndicesRefreshParams , IndicesRolloverParams , IndicesSegmentsParams , IndicesShardStoresParams , IndicesShrinkParams , IndicesStatsParams , IndicesUpdateAliasesParams , IndicesUpgradeParams , IndicesValidateQueryParams , IngestDeletePipelineParams , IngestGetPipelineParams , IngestPutPipelineParams , IngestSimulateParams , NodesHotThreadsParams , NodesInfoParams , NodesStatsParams , SnapshotCreateParams , SnapshotCreateRepositoryParams , SnapshotDeleteParams , SnapshotDeleteRepositoryParams , SnapshotGetParams , SnapshotGetRepositoryParams , SnapshotRestoreParams , SnapshotStatusParams , SnapshotVerifyRepositoryParams , TasksCancelParams , TasksGetParams , TasksListParams , } from 'elasticsearch' ; public deprecated export interface LegacyCallAPIOptions { /**
     * Indicates whether `401 Unauthorized` errors returned from the OpenSearch API
     * should be wrapped into `Boom` error instances with properly set `WWW-Authenticate`
     * header that could have been returned by the API itself. If API didn't specify that
     * then `Basic realm="Authorization Required"` is used as `WWW-Authenticate`.
     */ wrap401Errors ? : boolean ; /**
     * A signal object that allows you to abort the request via an AbortController object.
     */ signal ? : AbortSignal ; } deprecated public export interface LegacyAPICaller { ( endpoint , params , options ? ) : ReturnType < Client [ 'bulk' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'clearScroll' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'count' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'create' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'delete' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'deleteByQuery' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'deleteScript' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'deleteTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'exists' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'explain' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'fieldStats' ] > ; < T > ( endpoint , params , options ? ) : Promise < GetResponse < T > > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'getScript' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'getSource' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'getTemplate' ] > ; < T > ( endpoint , params , options ? ) : ReturnType < Client [ 'index' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'info' ] > ; < T > ( endpoint , params , options ? ) : Promise < MGetResponse < T > > ; < T > ( endpoint , params , options ? ) : Promise < MSearchResponse < T > > ; < T > ( endpoint , params , options ? ) : Promise < MSearchResponse < T > > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'mtermvectors' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'ping' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'putScript' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'putTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'reindex' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'reindexRethrottle' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'renderSearchTemplate' ] > ; < T > ( endpoint , params , options ? ) : Promise < SearchResponse < T > > ; < T > ( endpoint , params , options ? ) : Promise < SearchResponse < T > > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'searchShards' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'searchTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'suggest' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'termvectors' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'update' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'updateByQuery' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'aliases' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'allocation' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'count' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'fielddata' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'health' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'help' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'indices' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'master' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'nodeattrs' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'nodes' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'pendingTasks' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'plugins' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'recovery' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'repositories' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'segments' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'shards' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'snapshots' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'tasks' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cat' ] [ 'threadPool' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'allocationExplain' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'getSettings' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'health' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'pendingTasks' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'putSettings' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'reroute' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'state' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'cluster' ] [ 'stats' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'analyze' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'clearCache' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'close' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'create' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'delete' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'deleteAlias' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'deleteTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'exists' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'existsAlias' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'existsTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'existsType' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'flush' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'flushSynced' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'forcemerge' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'get' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'getAlias' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'getFieldMapping' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'getMapping' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'getSettings' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'getTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'getUpgrade' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'open' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'putAlias' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'putMapping' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'putSettings' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'putTemplate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'recovery' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'refresh' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'rollover' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'segments' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'shardStores' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'shrink' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'stats' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'updateAliases' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'upgrade' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'indices' ] [ 'validateQuery' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'ingest' ] [ 'deletePipeline' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'ingest' ] [ 'getPipeline' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'ingest' ] [ 'putPipeline' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'ingest' ] [ 'simulate' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'nodes' ] [ 'hotThreads' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'nodes' ] [ 'info' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'nodes' ] [ 'stats' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'create' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'createRepository' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'delete' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'deleteRepository' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'get' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'getRepository' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'restore' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'status' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'snapshot' ] [ 'verifyRepository' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'tasks' ] [ 'cancel' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'tasks' ] [ 'get' ] > ; ( endpoint , params , options ? ) : ReturnType < Client [ 'tasks' ] [ 'list' ] > ; ( endpoint , clientParams , options ? ) : Promise < AssistanceAPIResponse > ; ( endpoint , clientParams , options ? ) : Promise < DeprecationAPIResponse > ; < T = any > ( endpoint , clientParams ? , options ? ) : Promise < T > ; } deprecated public export interface AssistantAPIClientParams extends GenericParams { path : '/_migration/assistance' ; method : 'GET' ; } deprecated public export type MIGRATION_ASSISTANCE_INDEX_ACTION = 'upgrade' | 'reindex' ; deprecated public export type MIGRATION_DEPRECATION_LEVEL = 'none' | 'info' | 'warning' | 'critical' ; deprecated public export interface AssistanceAPIResponse { indices : { [ indexName ] : { action_required : MIGRATION_ASSISTANCE_INDEX_ACTION ; } ; } ; } deprecated public export interface DeprecationAPIClientParams extends GenericParams { path : '/_migration/deprecations' ; method : 'GET' ; } deprecated public export interface DeprecationInfo { level : MIGRATION_DEPRECATION_LEVEL ; message : string ; url : string ; details ? : string ; } deprecated public export interface IndexSettingsDeprecationInfo { [ indexName ] : DeprecationInfo [ ] ; } deprecated public export interface DeprecationAPIResponse { cluster_settings : DeprecationInfo [ ] ; ml_settings : DeprecationInfo [ ] ; node_settings : DeprecationInfo [ ] ; index_settings : IndexSettingsDeprecationInfo ; }