## API Report File for "opensearch-dashboards" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { ApiResponse } from '@opensearch-project/opensearch/lib/Transport'; import Boom from '@hapi/boom'; import { BulkIndexDocumentsParams } from 'elasticsearch'; import { CatAliasesParams } from 'elasticsearch'; import { CatAllocationParams } from 'elasticsearch'; import { CatCommonParams } from 'elasticsearch'; import { CatFielddataParams } from 'elasticsearch'; import { CatHealthParams } from 'elasticsearch'; import { CatHelpParams } from 'elasticsearch'; import { CatIndicesParams } from 'elasticsearch'; import { CatRecoveryParams } from 'elasticsearch'; import { CatSegmentsParams } from 'elasticsearch'; import { CatShardsParams } from 'elasticsearch'; import { CatSnapshotsParams } from 'elasticsearch'; import { CatTasksParams } from 'elasticsearch'; import { CatThreadPoolParams } from 'elasticsearch'; import { ClearScrollParams } from 'elasticsearch'; import { CliArgs } from '@osd/config'; import { Client } from 'elasticsearch'; import { ClientOptions } from '@opensearch-project/opensearch'; import { ClusterAllocationExplainParams } from 'elasticsearch'; import { ClusterGetSettingsParams } from 'elasticsearch'; import { ClusterHealthParams } from 'elasticsearch'; import { ClusterPendingTasksParams } from 'elasticsearch'; import { ClusterPutSettingsParams } from 'elasticsearch'; import { ClusterRerouteParams } from 'elasticsearch'; import { ClusterStateParams } from 'elasticsearch'; import { ClusterStatsParams } from 'elasticsearch'; import { ConfigDeprecation } from '@osd/config'; import { ConfigDeprecationFactory } from '@osd/config'; import { ConfigDeprecationLogger } from '@osd/config'; import { ConfigDeprecationProvider } from '@osd/config'; import { ConfigOptions } from 'elasticsearch'; import { ConfigPath } from '@osd/config'; import { ConfigService } from '@osd/config'; import { CountParams } from 'elasticsearch'; import { CreateDocumentParams } from 'elasticsearch'; import { DeleteDocumentByQueryParams } from 'elasticsearch'; import { DeleteDocumentParams } from 'elasticsearch'; import { DeleteScriptParams } from 'elasticsearch'; import { DeleteTemplateParams } from 'elasticsearch'; import { DetailedPeerCertificate } from 'tls'; import { Duration } from 'moment'; import { EnvironmentMode } from '@osd/config'; import { ExistsParams } from 'elasticsearch'; import { ExplainParams } from 'elasticsearch'; import { FieldStatsParams } from 'elasticsearch'; import { GenericParams } from 'elasticsearch'; import { GetParams } from 'elasticsearch'; import { GetResponse as GetResponse_2 } from 'elasticsearch'; import { GetScriptParams } from 'elasticsearch'; import { GetSourceParams } from 'elasticsearch'; import { GetTemplateParams } from 'elasticsearch'; import { IncomingHttpHeaders } from 'http'; import { IndexDocumentParams } from 'elasticsearch'; import { IndicesAnalyzeParams } from 'elasticsearch'; import { IndicesClearCacheParams } from 'elasticsearch'; import { IndicesCloseParams } from 'elasticsearch'; import { IndicesCreateParams } from 'elasticsearch'; import { IndicesDeleteAliasParams } from 'elasticsearch'; import { IndicesDeleteParams } from 'elasticsearch'; import { IndicesDeleteTemplateParams } from 'elasticsearch'; import { IndicesExistsAliasParams } from 'elasticsearch'; import { IndicesExistsParams } from 'elasticsearch'; import { IndicesExistsTemplateParams } from 'elasticsearch'; import { IndicesExistsTypeParams } from 'elasticsearch'; import { IndicesFlushParams } from 'elasticsearch'; import { IndicesFlushSyncedParams } from 'elasticsearch'; import { IndicesForcemergeParams } from 'elasticsearch'; import { IndicesGetAliasParams } from 'elasticsearch'; import { IndicesGetFieldMappingParams } from 'elasticsearch'; import { IndicesGetMappingParams } from 'elasticsearch'; import { IndicesGetParams } from 'elasticsearch'; import { IndicesGetSettingsParams } from 'elasticsearch'; import { IndicesGetTemplateParams } from 'elasticsearch'; import { IndicesGetUpgradeParams } from 'elasticsearch'; import { IndicesOpenParams } from 'elasticsearch'; import { IndicesPutAliasParams } from 'elasticsearch'; import { IndicesPutMappingParams } from 'elasticsearch'; import { IndicesPutSettingsParams } from 'elasticsearch'; import { IndicesPutTemplateParams } from 'elasticsearch'; import { IndicesRecoveryParams } from 'elasticsearch'; import { IndicesRefreshParams } from 'elasticsearch'; import { IndicesRolloverParams } from 'elasticsearch'; import { IndicesSegmentsParams } from 'elasticsearch'; import { IndicesShardStoresParams } from 'elasticsearch'; import { IndicesShrinkParams } from 'elasticsearch'; import { IndicesStatsParams } from 'elasticsearch'; import { IndicesUpdateAliasesParams } from 'elasticsearch'; import { IndicesUpgradeParams } from 'elasticsearch'; import { IndicesValidateQueryParams } from 'elasticsearch'; import { InfoParams } from 'elasticsearch'; import { IngestDeletePipelineParams } from 'elasticsearch'; import { IngestGetPipelineParams } from 'elasticsearch'; import { IngestPutPipelineParams } from 'elasticsearch'; import { IngestSimulateParams } from 'elasticsearch'; import { OpenSearchDashboardsClient } from '@opensearch-project/opensearch/api/opensearch_dashboards'; import { Logger } from '@osd/logging'; import { LoggerFactory } from '@osd/logging'; import { LogLevel } from '@osd/logging'; import { LogMeta } from '@osd/logging'; import { LogRecord } from '@osd/logging'; import { MGetParams } from 'elasticsearch'; import { MGetResponse } from 'elasticsearch'; import { MSearchParams } from 'elasticsearch'; import { MSearchResponse } from 'elasticsearch'; import { MSearchTemplateParams } from 'elasticsearch'; import { MTermVectorsParams } from 'elasticsearch'; import { NodesHotThreadsParams } from 'elasticsearch'; import { NodesInfoParams } from 'elasticsearch'; import { NodesStatsParams } from 'elasticsearch'; import { ObjectType } from '@osd/config-schema'; import { Observable } from 'rxjs'; import { OpenSearchDashboardsConfigType } from 'src/core/server/opensearch_dashboards_config'; import { PackageInfo } from '@osd/config'; import { PathConfigType } from '@osd/utils'; import { PeerCertificate } from 'tls'; import { PingParams } from 'elasticsearch'; import { PutScriptParams } from 'elasticsearch'; import { PutTemplateParams } from 'elasticsearch'; import { Readable } from 'stream'; import { RecursiveReadonly } from '@osd/utility-types'; import { ReindexParams } from 'elasticsearch'; import { ReindexRethrottleParams } from 'elasticsearch'; import { RenderSearchTemplateParams } from 'elasticsearch'; import { Request } from '@hapi/hapi'; import { ResponseObject } from '@hapi/hapi'; import { ResponseToolkit } from '@hapi/hapi'; import { SchemaTypeError } from '@osd/config-schema'; import { ScrollParams } from 'elasticsearch'; import { SearchParams } from 'elasticsearch'; import { SearchResponse as SearchResponse_2 } from 'elasticsearch'; import { SearchShardsParams } from 'elasticsearch'; import { SearchTemplateParams } from 'elasticsearch'; import { Server } from '@hapi/hapi'; import { ShallowPromise } from '@osd/utility-types'; import { SnapshotCreateParams } from 'elasticsearch'; import { SnapshotCreateRepositoryParams } from 'elasticsearch'; import { SnapshotDeleteParams } from 'elasticsearch'; import { SnapshotDeleteRepositoryParams } from 'elasticsearch'; import { SnapshotGetParams } from 'elasticsearch'; import { SnapshotGetRepositoryParams } from 'elasticsearch'; import { SnapshotRestoreParams } from 'elasticsearch'; import { SnapshotStatusParams } from 'elasticsearch'; import { SnapshotVerifyRepositoryParams } from 'elasticsearch'; import { Stream } from 'stream'; import { SuggestParams } from 'elasticsearch'; import { TasksCancelParams } from 'elasticsearch'; import { TasksGetParams } from 'elasticsearch'; import { TasksListParams } from 'elasticsearch'; import { TermvectorsParams } from 'elasticsearch'; import { TransportRequestOptions } from '@opensearch-project/opensearch/lib/Transport'; import { TransportRequestParams } from '@opensearch-project/opensearch/lib/Transport'; import { TransportRequestPromise } from '@opensearch-project/opensearch/lib/Transport'; import { Type } from '@osd/config-schema'; import { TypeOf } from '@osd/config-schema'; import { UpdateDocumentByQueryParams } from 'elasticsearch'; import { UpdateDocumentParams } from 'elasticsearch'; import { URL } from 'url'; // @public export interface AppCategory { ariaLabel?: string; euiIconType?: string; id: string; label: string; order?: number; } // Warning: (ae-forgotten-export) The symbol "ConsoleAppenderConfig" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "FileAppenderConfig" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "LegacyAppenderConfig" needs to be exported by the entry point index.d.ts // // @public (undocumented) export type AppenderConfigType = ConsoleAppenderConfig | FileAppenderConfig | LegacyAppenderConfig; // @public @deprecated (undocumented) export interface AssistanceAPIResponse { // (undocumented) indices: { [indexName: string]: { action_required: MIGRATION_ASSISTANCE_INDEX_ACTION; }; }; } // @public @deprecated (undocumented) export interface AssistantAPIClientParams extends GenericParams { // (undocumented) method: 'GET'; // (undocumented) path: '/_migration/assistance'; } // @public export interface AuditableEvent { // (undocumented) message: string; // (undocumented) type: string; } // @public export interface Auditor { add(event: AuditableEvent): void; withAuditScope(name: string): void; } // @public export interface AuditorFactory { // (undocumented) asScoped(request: OpenSearchDashboardsRequest): Auditor; } // Warning: (ae-missing-release-tag) "AuditTrailSetup" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface AuditTrailSetup { register(auditor: AuditorFactory): void; } // Warning: (ae-missing-release-tag) "AuditTrailStart" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export type AuditTrailStart = AuditorFactory; // @public (undocumented) export interface Authenticated extends AuthResultParams { // (undocumented) type: AuthResultType.authenticated; } // @public export type AuthenticationHandler = (request: OpenSearchDashboardsRequest, response: LifecycleResponseFactory, toolkit: AuthToolkit) => AuthResult | IOpenSearchDashboardsResponse | Promise; // @public export type AuthHeaders = Record; // @public (undocumented) export interface AuthNotHandled { // (undocumented) type: AuthResultType.notHandled; } // @public (undocumented) export interface AuthRedirected extends AuthRedirectedParams { // (undocumented) type: AuthResultType.redirected; } // @public export interface AuthRedirectedParams { headers: { location: string; } & ResponseHeaders; } // @public (undocumented) export type AuthResult = Authenticated | AuthNotHandled | AuthRedirected; // @public export interface AuthResultParams { requestHeaders?: AuthHeaders; responseHeaders?: AuthHeaders; state?: Record; } // @public (undocumented) export enum AuthResultType { // (undocumented) authenticated = "authenticated", // (undocumented) notHandled = "notHandled", // (undocumented) redirected = "redirected" } // @public export enum AuthStatus { authenticated = "authenticated", unauthenticated = "unauthenticated", unknown = "unknown" } // @public export interface AuthToolkit { authenticated: (data?: AuthResultParams) => AuthResult; notHandled: () => AuthResult; redirected: (headers: { location: string; } & ResponseHeaders) => AuthResult; } // @public export class BasePath { // @internal constructor(serverBasePath?: string); get: (request: OpenSearchDashboardsRequest | LegacyRequest) => string; prepend: (path: string) => string; remove: (path: string) => string; readonly serverBasePath: string; set: (request: OpenSearchDashboardsRequest | LegacyRequest, requestSpecificBasePath: string) => void; } // Warning: (ae-forgotten-export) The symbol "BootstrapArgs" needs to be exported by the entry point index.d.ts // // @internal (undocumented) export function bootstrap({ configs, cliArgs, applyConfigOverrides, features, }: BootstrapArgs): Promise; // @public export interface Capabilities { [key: string]: Record>; catalogue: Record; management: { [sectionId: string]: Record; }; navLinks: Record; } // @public export type CapabilitiesProvider = () => Partial; // @public export interface CapabilitiesSetup { registerProvider(provider: CapabilitiesProvider): void; registerSwitcher(switcher: CapabilitiesSwitcher): void; } // @public export interface CapabilitiesStart { resolveCapabilities(request: OpenSearchDashboardsRequest): Promise; } // @public export type CapabilitiesSwitcher = (request: OpenSearchDashboardsRequest, uiCapabilities: Capabilities) => Partial | Promise>; // @alpha export const config: { opensearch: { schema: import("@osd/config-schema").ObjectType<{ sniffOnStart: Type; sniffInterval: Type; sniffOnConnectionFault: Type; hosts: Type; username: Type; password: Type; requestHeadersWhitelist: Type; customHeaders: Type>; shardTimeout: Type; requestTimeout: Type; pingTimeout: Type; logQueries: Type; ssl: import("@osd/config-schema").ObjectType<{ verificationMode: Type<"none" | "certificate" | "full">; certificateAuthorities: Type; certificate: Type; key: Type; keyPassphrase: Type; keystore: import("@osd/config-schema").ObjectType<{ path: Type; password: Type; }>; truststore: import("@osd/config-schema").ObjectType<{ path: Type; password: Type; }>; alwaysPresentCertificate: Type; }>; apiVersion: Type; healthCheck: import("@osd/config-schema").ObjectType<{ delay: Type; }>; ignoreVersionMismatch: import("@osd/config-schema/target/types/types").ConditionalType; }>; }; logging: { appenders: Type; }; }; export { ConfigDeprecation } export { ConfigDeprecationFactory } export { ConfigDeprecationLogger } export { ConfigDeprecationProvider } export { ConfigPath } export { ConfigService } // @public export interface ContextSetup { createContextContainer>(): IContextContainer; } // @internal export interface CoreConfigUsageData { // (undocumented) http: { basePathConfigured: boolean; maxPayloadInBytes: number; rewriteBasePath: boolean; keepaliveTimeout: number; socketTimeout: number; compression: { enabled: boolean; referrerWhitelistConfigured: boolean; }; xsrf: { disableProtection: boolean; whitelistConfigured: boolean; }; requestId: { allowFromAnyIp: boolean; ipAllowlistConfigured: boolean; }; ssl: { certificateAuthoritiesConfigured: boolean; certificateConfigured: boolean; cipherSuites: string[]; keyConfigured: boolean; keystoreConfigured: boolean; truststoreConfigured: boolean; redirectHttpFromPortConfigured: boolean; supportedProtocols: string[]; clientAuthentication: 'none' | 'optional' | 'required'; }; }; // (undocumented) logging: { appendersTypesUsed: string[]; loggersConfiguredCount: number; }; // (undocumented) opensearch: { sniffOnStart: boolean; sniffIntervalMs?: number; sniffOnConnectionFault: boolean; numberOfHostsConfigured: number; requestHeadersWhitelistConfigured: boolean; customHeadersConfigured: boolean; shardTimeoutMs: number; requestTimeoutMs: number; pingTimeoutMs: number; logQueries: boolean; ssl: { verificationMode: 'none' | 'certificate' | 'full'; certificateAuthoritiesConfigured: boolean; certificateConfigured: boolean; keyConfigured: boolean; keystoreConfigured: boolean; truststoreConfigured: boolean; alwaysPresentCertificate: boolean; }; apiVersion: string; healthCheckDelayMs: number; }; // (undocumented) savedObjects: { maxImportPayloadBytes: number; maxImportExportSizeBytes: number; }; } // @internal export interface CoreEnvironmentUsageData { // (undocumented) memory: { heapTotalBytes: number; heapUsedBytes: number; heapSizeLimit: number; }; } // @internal (undocumented) export type CoreId = symbol; // @internal export interface CoreServicesUsageData { // (undocumented) savedObjects: { indices: { alias: string; docsCount: number; docsDeleted: number; storeSizeBytes: number; primaryStoreSizeBytes: number; }[]; }; } // @public export interface CoreSetup { // (undocumented) auditTrail: AuditTrailSetup; // (undocumented) capabilities: CapabilitiesSetup; // (undocumented) context: ContextSetup; // (undocumented) getStartServices: StartServicesAccessor; // (undocumented) http: HttpServiceSetup & { resources: HttpResources; }; // (undocumented) logging: LoggingServiceSetup; // (undocumented) metrics: MetricsServiceSetup; // (undocumented) opensearch: OpenSearchServiceSetup; // (undocumented) savedObjects: SavedObjectsServiceSetup; // (undocumented) status: StatusServiceSetup; // (undocumented) uiSettings: UiSettingsServiceSetup; } // @public export interface CoreStart { // (undocumented) auditTrail: AuditTrailStart; // (undocumented) capabilities: CapabilitiesStart; // @internal (undocumented) coreUsageData: CoreUsageDataStart; // (undocumented) http: HttpServiceStart; // (undocumented) metrics: MetricsServiceStart; // (undocumented) opensearch: OpenSearchServiceStart; // (undocumented) savedObjects: SavedObjectsServiceStart; // (undocumented) uiSettings: UiSettingsServiceStart; } // @public export interface CoreStatus { // (undocumented) opensearch: ServiceStatus; // (undocumented) savedObjects: ServiceStatus; } // @internal export interface CoreUsageData { // (undocumented) config: CoreConfigUsageData; // (undocumented) environment: CoreEnvironmentUsageData; // (undocumented) services: CoreServicesUsageData; } // @internal export interface CoreUsageDataStart { getCoreUsageData(): Promise; } // @public (undocumented) export interface CountResponse { // (undocumented) count: number; // (undocumented) _shards: ShardsInfo; } // @public export class CspConfig implements ICspConfig { // @internal constructor(rawCspConfig?: Partial>); // (undocumented) static readonly DEFAULT: CspConfig; // (undocumented) readonly header: string; // (undocumented) readonly rules: string[]; // (undocumented) readonly strict: boolean; // (undocumented) readonly warnLegacyBrowsers: boolean; } // @public export interface CustomHttpResponseOptions { body?: T; headers?: ResponseHeaders; // (undocumented) statusCode: number; } // @internal (undocumented) export const DEFAULT_APP_CATEGORIES: Record; // @public (undocumented) export interface DeleteDocumentResponse { // (undocumented) error?: { type: string; }; // (undocumented) found: boolean; // (undocumented) _id: string; // (undocumented) _index: string; // (undocumented) result: string; // (undocumented) _shards: ShardsResponse; // (undocumented) _type: string; // (undocumented) _version: number; } // @public @deprecated (undocumented) export interface DeprecationAPIClientParams extends GenericParams { // (undocumented) method: 'GET'; // (undocumented) path: '/_migration/deprecations'; } // @public @deprecated (undocumented) export interface DeprecationAPIResponse { // (undocumented) cluster_settings: DeprecationInfo[]; // (undocumented) index_settings: IndexSettingsDeprecationInfo; // (undocumented) ml_settings: DeprecationInfo[]; // (undocumented) node_settings: DeprecationInfo[]; } // @public @deprecated (undocumented) export interface DeprecationInfo { // (undocumented) details?: string; // (undocumented) level: MIGRATION_DEPRECATION_LEVEL; // (undocumented) message: string; // (undocumented) url: string; } // @public export interface DeprecationSettings { docLinksKey: string; message: string; } // @public export type DestructiveRouteMethod = 'post' | 'put' | 'delete' | 'patch'; // @public export interface DiscoveredPlugin { readonly configPath: ConfigPath; readonly id: PluginName; readonly optionalPlugins: readonly PluginName[]; readonly requiredBundles: readonly PluginName[]; readonly requiredPlugins: readonly PluginName[]; } export { EnvironmentMode } // @public export interface ErrorHttpResponseOptions { body?: ResponseError; headers?: ResponseHeaders; } // @public (undocumented) export interface Explanation { // (undocumented) description: string; // (undocumented) details: Explanation[]; // (undocumented) value: number; } // @public export function exportSavedObjectsToStream({ types, objects, search, savedObjectsClient, exportSizeLimit, includeReferencesDeep, excludeExportDetails, namespace, }: SavedObjectsExportOptions): Promise; // @public export interface FakeRequest { headers: Headers; } // @public export type GetAuthHeaders = (request: OpenSearchDashboardsRequest | LegacyRequest) => AuthHeaders | undefined; // @public export type GetAuthState = (request: OpenSearchDashboardsRequest | LegacyRequest) => { status: AuthStatus; state: T; }; // @public (undocumented) export interface GetResponse { // (undocumented) found: boolean; // (undocumented) _id: string; // (undocumented) _index: string; // (undocumented) _primary_term: number; // (undocumented) _routing?: string; // (undocumented) _seq_no: number; // (undocumented) _source: T; // (undocumented) _type: string; // (undocumented) _version: number; } // @public export type HandlerContextType> = T extends HandlerFunction ? U : never; // @public export type HandlerFunction = (context: T, ...args: any[]) => any; // @public export type HandlerParameters> = T extends (context: any, ...args: infer U) => any ? U : never; // @public export type Headers = { [header in KnownHeaders]?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }; // @public (undocumented) export interface HttpAuth { get: GetAuthState; isAuthenticated: IsAuthenticated; } // @public export interface HttpResources { register: (route: RouteConfig, handler: HttpResourcesRequestHandler) => void; } // @public export interface HttpResourcesRenderOptions { headers?: ResponseHeaders; } // @public export type HttpResourcesRequestHandler

= RequestHandler; // @public export type HttpResourcesResponseOptions = HttpResponseOptions; // @public export interface HttpResourcesServiceToolkit { renderAnonymousCoreApp: (options?: HttpResourcesRenderOptions) => Promise; renderCoreApp: (options?: HttpResourcesRenderOptions) => Promise; renderHtml: (options: HttpResourcesResponseOptions) => IOpenSearchDashboardsResponse; renderJs: (options: HttpResourcesResponseOptions) => IOpenSearchDashboardsResponse; } // @public export interface HttpResponseOptions { body?: HttpResponsePayload; headers?: ResponseHeaders; } // @public export type HttpResponsePayload = undefined | string | Record | Buffer | Stream; // @public (undocumented) export interface HttpServerInfo { hostname: string; name: string; port: number; protocol: 'http' | 'https' | 'socket'; } // @public export interface HttpServiceSetup { // @deprecated auth: HttpAuth; basePath: IBasePath; createCookieSessionStorageFactory: (cookieOptions: SessionStorageCookieOptions) => Promise>; createRouter: () => IRouter; csp: ICspConfig; getServerInfo: () => HttpServerInfo; registerAuth: (handler: AuthenticationHandler) => void; registerOnPostAuth: (handler: OnPostAuthHandler) => void; registerOnPreAuth: (handler: OnPreAuthHandler) => void; registerOnPreResponse: (handler: OnPreResponseHandler) => void; registerOnPreRouting: (handler: OnPreRoutingHandler) => void; registerRouteHandlerContext: (contextName: T, provider: RequestHandlerContextProvider) => RequestHandlerContextContainer; } // @public (undocumented) export interface HttpServiceStart { auth: HttpAuth; basePath: IBasePath; getServerInfo: () => HttpServerInfo; } // @public export type IBasePath = Pick; // @public export interface IClusterClient { readonly asInternalUser: OpenSearchClient; asScoped: (request: ScopeableRequest) => IScopedClusterClient; } // @public export interface IContextContainer> { createHandler(pluginOpaqueId: PluginOpaqueId, handler: THandler): (...rest: HandlerParameters) => ShallowPromise>; registerContext>(pluginOpaqueId: PluginOpaqueId, contextName: TContextName, provider: IContextProvider): this; } // Warning: (ae-forgotten-export) The symbol "PartialExceptFor" needs to be exported by the entry point index.d.ts // // @public export type IContextProvider, TContextName extends keyof HandlerContextType> = (context: PartialExceptFor, 'core'>, ...rest: HandlerParameters) => Promise[TContextName]> | HandlerContextType[TContextName]; // @public export interface ICspConfig { readonly header: string; readonly rules: string[]; readonly strict: boolean; readonly warnLegacyBrowsers: boolean; } // @public export interface ICustomClusterClient extends IClusterClient { close: () => Promise; } // @public @deprecated export type ILegacyClusterClient = Pick; // @public @deprecated export type ILegacyCustomClusterClient = Pick; // @public @deprecated export type ILegacyScopedClusterClient = Pick; // @public (undocumented) export interface ImageValidation { // (undocumented) maxSize: { length: number; description: string; }; } // @public export function importSavedObjectsFromStream({ readStream, objectLimit, overwrite, createNewCopies, savedObjectsClient, typeRegistry, namespace, }: SavedObjectsImportOptions): Promise; // @public @deprecated (undocumented) export interface IndexSettingsDeprecationInfo { // (undocumented) [indexName: string]: DeprecationInfo[]; } // @public export interface IOpenSearchDashboardsResponse { // (undocumented) readonly options: HttpResponseOptions; // (undocumented) readonly payload?: T; // (undocumented) readonly status: number; } // @public export interface IOpenSearchDashboardsSocket { readonly authorizationError?: Error; readonly authorized?: boolean; // (undocumented) getPeerCertificate(detailed: true): DetailedPeerCertificate | null; // (undocumented) getPeerCertificate(detailed: false): PeerCertificate | null; getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate | null; } // @public (undocumented) export interface IRenderOptions { includeUserSettings?: boolean; // @internal @deprecated vars?: Record; } // @public export interface IRouter { delete: RouteRegistrar<'delete'>; get: RouteRegistrar<'get'>; // Warning: (ae-forgotten-export) The symbol "RouterRoute" needs to be exported by the entry point index.d.ts // // @internal getRoutes: () => RouterRoute[]; handleLegacyErrors: RequestHandlerWrapper; patch: RouteRegistrar<'patch'>; post: RouteRegistrar<'post'>; put: RouteRegistrar<'put'>; routerPath: string; } // @public export type IsAuthenticated = (request: OpenSearchDashboardsRequest | LegacyRequest) => boolean; // @public export type ISavedObjectsRepository = Pick; // @public export type ISavedObjectTypeRegistry = Omit; // @public export interface IScopedClusterClient { readonly asCurrentUser: OpenSearchClient; readonly asInternalUser: OpenSearchClient; } // @public export interface IUiSettingsClient { get: (key: string) => Promise; getAll: () => Promise>; getRegistered: () => Readonly>; getUserProvided: () => Promise>>; isOverridden: (key: string) => boolean; remove: (key: string) => Promise; removeMany: (keys: string[]) => Promise; set: (key: string, value: any) => Promise; setMany: (changes: Record) => Promise; } // Warning: (ae-forgotten-export) The symbol "KnownKeys" needs to be exported by the entry point index.d.ts // // @public export type KnownHeaders = KnownKeys; // @public @deprecated (undocumented) export interface LegacyAPICaller { // (undocumented) (endpoint: 'bulk', params: BulkIndexDocumentsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'clearScroll', params: ClearScrollParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'count', params: CountParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'create', params: CreateDocumentParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'delete', params: DeleteDocumentParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'deleteByQuery', params: DeleteDocumentByQueryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'deleteScript', params: DeleteScriptParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'deleteTemplate', params: DeleteTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'exists', params: ExistsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'explain', params: ExplainParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'fieldStats', params: FieldStatsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'get', params: GetParams, options?: LegacyCallAPIOptions): Promise>; // (undocumented) (endpoint: 'getScript', params: GetScriptParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'getSource', params: GetSourceParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'getTemplate', params: GetTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'index', params: IndexDocumentParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'info', params: InfoParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'mget', params: MGetParams, options?: LegacyCallAPIOptions): Promise>; // (undocumented) (endpoint: 'msearch', params: MSearchParams, options?: LegacyCallAPIOptions): Promise>; // (undocumented) (endpoint: 'msearchTemplate', params: MSearchTemplateParams, options?: LegacyCallAPIOptions): Promise>; // (undocumented) (endpoint: 'mtermvectors', params: MTermVectorsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'ping', params: PingParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'putScript', params: PutScriptParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'putTemplate', params: PutTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'reindex', params: ReindexParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'reindexRethrottle', params: ReindexRethrottleParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'renderSearchTemplate', params: RenderSearchTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'scroll', params: ScrollParams, options?: LegacyCallAPIOptions): Promise>; // (undocumented) (endpoint: 'search', params: SearchParams, options?: LegacyCallAPIOptions): Promise>; // (undocumented) (endpoint: 'searchShards', params: SearchShardsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'searchTemplate', params: SearchTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'suggest', params: SuggestParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'termvectors', params: TermvectorsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'update', params: UpdateDocumentParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'updateByQuery', params: UpdateDocumentByQueryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.aliases', params: CatAliasesParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.allocation', params: CatAllocationParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.count', params: CatAllocationParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.fielddata', params: CatFielddataParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.health', params: CatHealthParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.help', params: CatHelpParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.indices', params: CatIndicesParams, options?: LegacyCallAPIOptions): ReturnType; // @deprecated (undocumented) (endpoint: 'cat.master', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.cluster_manager', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.nodeattrs', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.nodes', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.pendingTasks', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.plugins', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.recovery', params: CatRecoveryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.repositories', params: CatCommonParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.segments', params: CatSegmentsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.shards', params: CatShardsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.snapshots', params: CatSnapshotsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.tasks', params: CatTasksParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cat.threadPool', params: CatThreadPoolParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.allocationExplain', params: ClusterAllocationExplainParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.getSettings', params: ClusterGetSettingsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.health', params: ClusterHealthParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.pendingTasks', params: ClusterPendingTasksParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.putSettings', params: ClusterPutSettingsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.reroute', params: ClusterRerouteParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.state', params: ClusterStateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'cluster.stats', params: ClusterStatsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.analyze', params: IndicesAnalyzeParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.clearCache', params: IndicesClearCacheParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.close', params: IndicesCloseParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.create', params: IndicesCreateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.delete', params: IndicesDeleteParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.deleteAlias', params: IndicesDeleteAliasParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.deleteTemplate', params: IndicesDeleteTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.exists', params: IndicesExistsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.existsAlias', params: IndicesExistsAliasParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.existsTemplate', params: IndicesExistsTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.existsType', params: IndicesExistsTypeParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.flush', params: IndicesFlushParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.flushSynced', params: IndicesFlushSyncedParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.forcemerge', params: IndicesForcemergeParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.get', params: IndicesGetParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.getAlias', params: IndicesGetAliasParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.getFieldMapping', params: IndicesGetFieldMappingParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.getMapping', params: IndicesGetMappingParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.getSettings', params: IndicesGetSettingsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.getTemplate', params: IndicesGetTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.getUpgrade', params: IndicesGetUpgradeParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.open', params: IndicesOpenParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.putAlias', params: IndicesPutAliasParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.putMapping', params: IndicesPutMappingParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.putSettings', params: IndicesPutSettingsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.putTemplate', params: IndicesPutTemplateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.recovery', params: IndicesRecoveryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.refresh', params: IndicesRefreshParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.rollover', params: IndicesRolloverParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.segments', params: IndicesSegmentsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.shardStores', params: IndicesShardStoresParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.shrink', params: IndicesShrinkParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.stats', params: IndicesStatsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.updateAliases', params: IndicesUpdateAliasesParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.upgrade', params: IndicesUpgradeParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'indices.validateQuery', params: IndicesValidateQueryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'ingest.deletePipeline', params: IngestDeletePipelineParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'ingest.getPipeline', params: IngestGetPipelineParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'ingest.putPipeline', params: IngestPutPipelineParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'ingest.simulate', params: IngestSimulateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'nodes.hotThreads', params: NodesHotThreadsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'nodes.info', params: NodesInfoParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'nodes.stats', params: NodesStatsParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.create', params: SnapshotCreateParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.createRepository', params: SnapshotCreateRepositoryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.delete', params: SnapshotDeleteParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.deleteRepository', params: SnapshotDeleteRepositoryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.get', params: SnapshotGetParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.getRepository', params: SnapshotGetRepositoryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.restore', params: SnapshotRestoreParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.status', params: SnapshotStatusParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'snapshot.verifyRepository', params: SnapshotVerifyRepositoryParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'tasks.cancel', params: TasksCancelParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'tasks.get', params: TasksGetParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'tasks.list', params: TasksListParams, options?: LegacyCallAPIOptions): ReturnType; // (undocumented) (endpoint: 'transport.request', clientParams: AssistantAPIClientParams, options?: LegacyCallAPIOptions): Promise; // (undocumented) (endpoint: 'transport.request', clientParams: DeprecationAPIClientParams, options?: LegacyCallAPIOptions): Promise; // (undocumented) (endpoint: string, clientParams?: Record, options?: LegacyCallAPIOptions): Promise; } // @public @deprecated export interface LegacyCallAPIOptions { signal?: AbortSignal; wrap401Errors?: boolean; } // @public @deprecated export class LegacyClusterClient implements ILegacyClusterClient { constructor(config: LegacyOpenSearchClientConfig, log: Logger, getAuditorFactory: () => AuditorFactory, getAuthHeaders?: GetAuthHeaders); asScoped(request?: ScopeableRequest): ILegacyScopedClusterClient; callAsInternalUser: LegacyAPICaller; close(): void; } // @internal @deprecated export interface LegacyConfig { // (undocumented) get(key?: string): T; // (undocumented) has(key: string): boolean; // (undocumented) set(key: string, value: any): void; // Warning: (ae-forgotten-export) The symbol "LegacyVars" needs to be exported by the entry point index.d.ts // // (undocumented) set(config: LegacyVars): void; } // @public @deprecated (undocumented) export type LegacyOpenSearchClientConfig = Pick & Pick & { pingTimeout?: OpenSearchConfig['pingTimeout'] | ConfigOptions['pingTimeout']; requestTimeout?: OpenSearchConfig['requestTimeout'] | ConfigOptions['requestTimeout']; sniffInterval?: OpenSearchConfig['sniffInterval'] | ConfigOptions['sniffInterval']; ssl?: Partial; }; // @public export interface LegacyOpenSearchError extends Boom.Boom { // (undocumented) [code]?: string; } // @public export class LegacyOpenSearchErrorHelpers { // (undocumented) static decorateNotAuthorizedError(error: Error, reason?: string): LegacyOpenSearchError; // (undocumented) static isNotAuthorizedError(error: any): error is LegacyOpenSearchError; } // @public @deprecated (undocumented) export interface LegacyRequest extends Request { } // @public @deprecated export class LegacyScopedClusterClient implements ILegacyScopedClusterClient { constructor(internalAPICaller: LegacyAPICaller, scopedAPICaller: LegacyAPICaller, headers?: Headers | undefined, auditor?: Auditor | undefined); callAsCurrentUser(endpoint: string, clientParams?: Record, options?: LegacyCallAPIOptions): Promise; callAsInternalUser(endpoint: string, clientParams?: Record, options?: LegacyCallAPIOptions): Promise; } // @public @deprecated (undocumented) export interface LegacyServiceSetupDeps { // Warning: (ae-forgotten-export) The symbol "LegacyCoreSetup" needs to be exported by the entry point index.d.ts // // (undocumented) core: LegacyCoreSetup; // (undocumented) plugins: Record; // Warning: (ae-forgotten-export) The symbol "UiPlugins" needs to be exported by the entry point index.d.ts // // (undocumented) uiPlugins: UiPlugins; } // @public @deprecated (undocumented) export interface LegacyServiceStartDeps { // Warning: (ae-forgotten-export) The symbol "LegacyCoreStart" needs to be exported by the entry point index.d.ts // // (undocumented) core: LegacyCoreStart; // (undocumented) plugins: Record; } // Warning: (ae-forgotten-export) The symbol "lifecycleResponseFactory" needs to be exported by the entry point index.d.ts // // @public export type LifecycleResponseFactory = typeof lifecycleResponseFactory; export { Logger } // Warning: (ae-forgotten-export) The symbol "loggerSchema" needs to be exported by the entry point index.d.ts // // @public (undocumented) export type LoggerConfigType = TypeOf; // @public (undocumented) export interface LoggerContextConfigInput { // (undocumented) appenders?: Record | Map; // (undocumented) loggers?: LoggerConfigType[]; } export { LoggerFactory } // @public export interface LoggingServiceSetup { configure(config$: Observable): void; } export { LogLevel } export { LogMeta } export { LogRecord } // @public export interface MetricsServiceSetup { readonly collectionInterval: number; getOpsMetrics$: () => Observable; } // @public export type MetricsServiceStart = MetricsServiceSetup; // @public @deprecated (undocumented) export type MIGRATION_ASSISTANCE_INDEX_ACTION = 'upgrade' | 'reindex'; // @public @deprecated (undocumented) export type MIGRATION_DEPRECATION_LEVEL = 'none' | 'info' | 'warning' | 'critical'; // @public export type MutatingOperationRefreshSetting = boolean | 'wait_for'; // Warning: (ae-missing-release-tag) "NodesVersionCompatibility" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface NodesVersionCompatibility { // Warning: (ae-forgotten-export) The symbol "NodeInfo" needs to be exported by the entry point index.d.ts // // (undocumented) incompatibleNodes: NodeInfo[]; // (undocumented) isCompatible: boolean; // (undocumented) message?: string; // (undocumented) opensearchDashboardsVersion: string; // (undocumented) warningNodes: NodeInfo[]; } // Warning: (ae-forgotten-export) The symbol "OnPostAuthResult" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "OpenSearchDashboardsResponse" needs to be exported by the entry point index.d.ts // // @public export type OnPostAuthHandler = (request: OpenSearchDashboardsRequest, response: LifecycleResponseFactory, toolkit: OnPostAuthToolkit) => OnPostAuthResult | OpenSearchDashboardsResponse | Promise; // @public export interface OnPostAuthToolkit { next: () => OnPostAuthResult; } // Warning: (ae-forgotten-export) The symbol "OnPreAuthResult" needs to be exported by the entry point index.d.ts // // @public export type OnPreAuthHandler = (request: OpenSearchDashboardsRequest, response: LifecycleResponseFactory, toolkit: OnPreAuthToolkit) => OnPreAuthResult | OpenSearchDashboardsResponse | Promise; // @public export interface OnPreAuthToolkit { next: () => OnPreAuthResult; } // @public export interface OnPreResponseExtensions { headers?: ResponseHeaders; } // Warning: (ae-forgotten-export) The symbol "OnPreResponseResult" needs to be exported by the entry point index.d.ts // // @public export type OnPreResponseHandler = (request: OpenSearchDashboardsRequest, preResponse: OnPreResponseInfo, toolkit: OnPreResponseToolkit) => OnPreResponseResult | Promise; // @public export interface OnPreResponseInfo { // (undocumented) statusCode: number; } // @public export interface OnPreResponseRender { body: string; headers?: ResponseHeaders; } // @public export interface OnPreResponseToolkit { next: (responseExtensions?: OnPreResponseExtensions) => OnPreResponseResult; render: (responseRender: OnPreResponseRender) => OnPreResponseResult; } // Warning: (ae-forgotten-export) The symbol "OnPreRoutingResult" needs to be exported by the entry point index.d.ts // // @public export type OnPreRoutingHandler = (request: OpenSearchDashboardsRequest, response: LifecycleResponseFactory, toolkit: OnPreRoutingToolkit) => OnPreRoutingResult | OpenSearchDashboardsResponse | Promise; // @public export interface OnPreRoutingToolkit { next: () => OnPreRoutingResult; rewriteUrl: (url: string) => OnPreRoutingResult; } // @public export type OpenSearchClient = Omit & { transport: { request(params: TransportRequestParams, options?: TransportRequestOptions): TransportRequestPromise; }; }; // @public export type OpenSearchClientConfig = Pick & { pingTimeout?: OpenSearchConfig['pingTimeout'] | ClientOptions['pingTimeout']; requestTimeout?: OpenSearchConfig['requestTimeout'] | ClientOptions['requestTimeout']; ssl?: Partial; keepAlive?: boolean; }; // @public export class OpenSearchConfig { constructor(rawConfig: OpenSearchConfigType); readonly apiVersion: string; // Warning: (ae-forgotten-export) The symbol "OpenSearchConfigType" needs to be exported by the entry point index.d.ts readonly customHeaders: OpenSearchConfigType['customHeaders']; readonly healthCheckDelay: Duration; readonly hosts: string[]; readonly ignoreVersionMismatch: boolean; readonly logQueries: boolean; readonly password?: string; readonly pingTimeout: Duration; readonly requestHeadersWhitelist: string[]; readonly requestTimeout: Duration; readonly shardTimeout: Duration; readonly sniffInterval: false | Duration; readonly sniffOnConnectionFault: boolean; readonly sniffOnStart: boolean; // Warning: (ae-forgotten-export) The symbol "SslConfigSchema" needs to be exported by the entry point index.d.ts readonly ssl: Pick> & { certificateAuthorities?: string[]; }; readonly username?: string; } // @public export class OpenSearchDashboardsRequest { // @internal (undocumented) protected readonly [requestSymbol]: Request; constructor(request: Request, params: Params, query: Query, body: Body, withoutSecretHeaders: boolean); // (undocumented) readonly auth: { isAuthenticated: boolean; }; // (undocumented) readonly body: Body; readonly events: OpenSearchDashboardsRequestEvents; // Warning: (ae-forgotten-export) The symbol "RouteValidator" needs to be exported by the entry point index.d.ts // // @internal static from(req: Request, routeSchemas?: RouteValidator | RouteValidatorFullConfig, withoutSecretHeaders?: boolean): OpenSearchDashboardsRequest; readonly headers: Headers; readonly id: string; readonly isSystemRequest: boolean; // (undocumented) readonly params: Params; // (undocumented) readonly query: Query; readonly route: RecursiveReadonly>; // (undocumented) readonly socket: IOpenSearchDashboardsSocket; readonly url: URL; readonly uuid: string; } // @public export interface OpenSearchDashboardsRequestEvents { aborted$: Observable; completed$: Observable; } // @public export interface OpenSearchDashboardsRequestRoute { // (undocumented) method: Method; // (undocumented) options: OpenSearchDashboardsRequestRouteOptions; // (undocumented) path: string; } // @public export type OpenSearchDashboardsRequestRouteOptions = Method extends 'get' | 'options' ? Required, 'body'>> : Required>; // @public export type OpenSearchDashboardsResponseFactory = typeof opensearchDashboardsResponseFactory; // @public export const opensearchDashboardsResponseFactory: { custom: | { message: string | Error; attributes?: Record | undefined; } | undefined>(options: CustomHttpResponseOptions) => OpenSearchDashboardsResponse; badRequest: (options?: ErrorHttpResponseOptions) => OpenSearchDashboardsResponse; unauthorized: (options?: ErrorHttpResponseOptions) => OpenSearchDashboardsResponse; forbidden: (options?: ErrorHttpResponseOptions) => OpenSearchDashboardsResponse; notFound: (options?: ErrorHttpResponseOptions) => OpenSearchDashboardsResponse; conflict: (options?: ErrorHttpResponseOptions) => OpenSearchDashboardsResponse; internalError: (options?: ErrorHttpResponseOptions) => OpenSearchDashboardsResponse; customError: (options: CustomHttpResponseOptions) => OpenSearchDashboardsResponse; redirected: (options: RedirectResponseOptions) => OpenSearchDashboardsResponse>; ok: (options?: HttpResponseOptions) => OpenSearchDashboardsResponse>; accepted: (options?: HttpResponseOptions) => OpenSearchDashboardsResponse>; noContent: (options?: HttpResponseOptions) => OpenSearchDashboardsResponse; }; // @public (undocumented) export interface OpenSearchServiceSetup { // @deprecated (undocumented) legacy: { readonly config$: Observable; readonly createClient: (type: string, clientConfig?: Partial) => ILegacyCustomClusterClient; readonly client: ILegacyClusterClient; }; } // @public (undocumented) export interface OpenSearchServiceStart { readonly client: IClusterClient; readonly createClient: (type: string, clientConfig?: Partial) => ICustomClusterClient; // @deprecated (undocumented) legacy: { readonly config$: Observable; readonly createClient: (type: string, clientConfig?: Partial) => ILegacyCustomClusterClient; readonly client: ILegacyClusterClient; }; } // @public (undocumented) export interface OpenSearchStatusMeta { // (undocumented) incompatibleNodes: NodesVersionCompatibility['incompatibleNodes']; // (undocumented) warningNodes: NodesVersionCompatibility['warningNodes']; } // @public export interface OpsMetrics { collected_at: Date; concurrent_connections: OpsServerMetrics['concurrent_connections']; os: OpsOsMetrics; process: OpsProcessMetrics; requests: OpsServerMetrics['requests']; response_times: OpsServerMetrics['response_times']; } // @public export interface OpsOsMetrics { cpu?: { control_group: string; cfs_period_micros: number; cfs_quota_micros: number; stat: { number_of_elapsed_periods: number; number_of_times_throttled: number; time_throttled_nanos: number; }; }; cpuacct?: { control_group: string; usage_nanos: number; }; distro?: string; distroRelease?: string; load: { '1m': number; '5m': number; '15m': number; }; memory: { total_in_bytes: number; free_in_bytes: number; used_in_bytes: number; }; platform: NodeJS.Platform; platformRelease: string; uptime_in_millis: number; } // @public export interface OpsProcessMetrics { event_loop_delay: number; memory: { heap: { total_in_bytes: number; used_in_bytes: number; size_limit: number; }; resident_set_size_in_bytes: number; }; pid: number; uptime_in_millis: number; } // @public export interface OpsServerMetrics { concurrent_connections: number; requests: { disconnects: number; total: number; statusCodes: Record; }; response_times: { avg_in_millis: number; max_in_millis: number; }; } export { PackageInfo } // @public export interface Plugin { // (undocumented) setup(core: CoreSetup, plugins: TPluginsSetup): TSetup | Promise; // (undocumented) start(core: CoreStart, plugins: TPluginsStart): TStart | Promise; // (undocumented) stop?(): void; } // @public export interface PluginConfigDescriptor { // Warning: (ae-unresolved-link) The @link reference could not be resolved: Reexported declarations are not supported deprecations?: ConfigDeprecationProvider; exposeToBrowser?: { [P in keyof T]?: boolean; }; schema: PluginConfigSchema; } // @public export type PluginConfigSchema = Type; // @public export type PluginInitializer = (core: PluginInitializerContext) => Plugin; // @public export interface PluginInitializerContext { // (undocumented) config: { legacy: { globalConfig$: Observable; }; create: () => Observable; createIfExists: () => Observable; }; // (undocumented) env: { mode: EnvironmentMode; packageInfo: Readonly; instanceUuid: string; }; // (undocumented) logger: LoggerFactory; // (undocumented) opaqueId: PluginOpaqueId; } // @public export interface PluginManifest { // Warning: (ae-unresolved-link) The @link reference could not be resolved: Reexported declarations are not supported readonly configPath: ConfigPath; // @deprecated readonly extraPublicDirs?: string[]; readonly id: PluginName; readonly opensearchDashboardsVersion: string; readonly optionalPlugins: readonly PluginName[]; readonly requiredBundles: readonly string[]; readonly requiredPlugins: readonly PluginName[]; readonly server: boolean; readonly ui: boolean; readonly version: string; } // @public export type PluginName = string; // @public (undocumented) export type PluginOpaqueId = symbol; // @internal (undocumented) export interface PluginsServiceSetup { contracts: Map; initialized: boolean; } // @internal (undocumented) export interface PluginsServiceStart { contracts: Map; } // @public export type PublicUiSettingsParams = Omit; // @public export type RedirectResponseOptions = HttpResponseOptions & { headers: { location: string; }; }; // @public export type RequestHandler

= (context: RequestHandlerContext, request: OpenSearchDashboardsRequest, response: ResponseFactory) => IOpenSearchDashboardsResponse | Promise>; // @public export interface RequestHandlerContext { // (undocumented) core: { savedObjects: { client: SavedObjectsClientContract; typeRegistry: ISavedObjectTypeRegistry; }; opensearch: { client: IScopedClusterClient; legacy: { client: ILegacyScopedClusterClient; }; }; uiSettings: { client: IUiSettingsClient; }; auditor: Auditor; }; } // @public export type RequestHandlerContextContainer = IContextContainer>; // @public export type RequestHandlerContextProvider = IContextProvider, TContextName>; // @public export type RequestHandlerWrapper = (handler: RequestHandler) => RequestHandler; // @public export function resolveSavedObjectsImportErrors({ readStream, objectLimit, retries, savedObjectsClient, typeRegistry, namespace, createNewCopies, }: SavedObjectsResolveImportErrorsOptions): Promise; // @public export type ResponseError = string | Error | { message: string | Error; attributes?: ResponseErrorAttributes; }; // @public export type ResponseErrorAttributes = Record; // @public export type ResponseHeaders = Record | Record; // @public export interface RouteConfig { options?: RouteConfigOptions; path: string; validate: RouteValidatorFullConfig | false; } // @public export interface RouteConfigOptions { authRequired?: boolean | 'optional'; body?: Method extends 'get' | 'options' ? undefined : RouteConfigOptionsBody; tags?: readonly string[]; timeout?: { payload?: Method extends 'get' | 'options' ? undefined : number; idleSocket?: number; }; xsrfRequired?: Method extends 'get' ? never : boolean; } // @public export interface RouteConfigOptionsBody { accepts?: RouteContentType | RouteContentType[] | string | string[]; maxBytes?: number; output?: typeof validBodyOutput[number]; parse?: boolean | 'gunzip'; } // @public export type RouteContentType = 'application/json' | 'application/*+json' | 'application/octet-stream' | 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/*'; // @public export type RouteMethod = SafeRouteMethod | DestructiveRouteMethod; // @public export type RouteRegistrar = (route: RouteConfig, handler: RequestHandler) => void; // @public export class RouteValidationError extends SchemaTypeError { constructor(error: Error | string, path?: string[]); } // @public export type RouteValidationFunction = (data: any, validationResult: RouteValidationResultFactory) => { value: T; error?: never; } | { value?: never; error: RouteValidationError; }; // @public export interface RouteValidationResultFactory { // (undocumented) badRequest: (error: Error | string, path?: string[]) => { error: RouteValidationError; }; // (undocumented) ok: (value: T) => { value: T; }; } // @public export type RouteValidationSpec = ObjectType | Type | RouteValidationFunction; // @public export interface RouteValidatorConfig { body?: RouteValidationSpec; params?: RouteValidationSpec

; query?: RouteValidationSpec; } // @public export type RouteValidatorFullConfig = RouteValidatorConfig & RouteValidatorOptions; // @public export interface RouteValidatorOptions { unsafe?: { params?: boolean; query?: boolean; body?: boolean; }; } // @public export type SafeRouteMethod = 'get' | 'options'; // Warning: (ae-missing-release-tag) "SavedObject" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface SavedObject { attributes: T; // Warning: (ae-forgotten-export) The symbol "SavedObjectError" needs to be exported by the entry point index.d.ts // // (undocumented) error?: SavedObjectError; id: string; migrationVersion?: SavedObjectsMigrationVersion; namespaces?: string[]; originId?: string; references: SavedObjectReference[]; type: string; updated_at?: string; version?: string; } // @public export type SavedObjectAttribute = SavedObjectAttributeSingle | SavedObjectAttributeSingle[]; // @public export interface SavedObjectAttributes { // (undocumented) [key: string]: SavedObjectAttribute; } // @public export type SavedObjectAttributeSingle = string | number | boolean | null | undefined | SavedObjectAttributes; // @public export interface SavedObjectMigrationContext { log: SavedObjectsMigrationLogger; } // @public export type SavedObjectMigrationFn = (doc: SavedObjectUnsanitizedDoc, context: SavedObjectMigrationContext) => SavedObjectUnsanitizedDoc; // @public export interface SavedObjectMigrationMap { // (undocumented) [version: string]: SavedObjectMigrationFn; } // @public export interface SavedObjectReference { // (undocumented) id: string; // (undocumented) name: string; // (undocumented) type: string; } // @public (undocumented) export interface SavedObjectsAddToNamespacesOptions extends SavedObjectsBaseOptions { refresh?: MutatingOperationRefreshSetting; version?: string; } // @public (undocumented) export interface SavedObjectsAddToNamespacesResponse { namespaces: string[]; } // Warning: (ae-forgotten-export) The symbol "SavedObjectDoc" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "Referencable" needs to be exported by the entry point index.d.ts // // @public export type SavedObjectSanitizedDoc = SavedObjectDoc & Referencable; // @public (undocumented) export interface SavedObjectsBaseOptions { namespace?: string; } // @public (undocumented) export interface SavedObjectsBulkCreateObject { // (undocumented) attributes: T; // (undocumented) id?: string; initialNamespaces?: string[]; migrationVersion?: SavedObjectsMigrationVersion; originId?: string; // (undocumented) references?: SavedObjectReference[]; // (undocumented) type: string; // (undocumented) version?: string; } // @public (undocumented) export interface SavedObjectsBulkGetObject { fields?: string[]; // (undocumented) id: string; // (undocumented) type: string; } // @public (undocumented) export interface SavedObjectsBulkResponse { // (undocumented) saved_objects: Array>; } // @public (undocumented) export interface SavedObjectsBulkResponse { // (undocumented) saved_objects: Array>; } // @public (undocumented) export interface SavedObjectsBulkUpdateObject extends Pick { attributes: Partial; id: string; namespace?: string; type: string; } // @public (undocumented) export interface SavedObjectsBulkUpdateOptions extends SavedObjectsBaseOptions { refresh?: MutatingOperationRefreshSetting; } // @public (undocumented) export interface SavedObjectsBulkUpdateResponse { // (undocumented) saved_objects: Array>; } // @public (undocumented) export interface SavedObjectsCheckConflictsObject { // (undocumented) id: string; // (undocumented) type: string; } // @public (undocumented) export interface SavedObjectsCheckConflictsResponse { // (undocumented) errors: Array<{ id: string; type: string; error: SavedObjectError; }>; } // @public (undocumented) export class SavedObjectsClient { // @internal constructor(repository: ISavedObjectsRepository); addToNamespaces(type: string, id: string, namespaces: string[], options?: SavedObjectsAddToNamespacesOptions): Promise; bulkCreate(objects: Array>, options?: SavedObjectsCreateOptions): Promise>; bulkGet(objects?: SavedObjectsBulkGetObject[], options?: SavedObjectsBaseOptions): Promise>; bulkUpdate(objects: Array>, options?: SavedObjectsBulkUpdateOptions): Promise>; checkConflicts(objects?: SavedObjectsCheckConflictsObject[], options?: SavedObjectsBaseOptions): Promise; create(type: string, attributes: T, options?: SavedObjectsCreateOptions): Promise>; delete(type: string, id: string, options?: SavedObjectsDeleteOptions): Promise<{}>; deleteFromNamespaces(type: string, id: string, namespaces: string[], options?: SavedObjectsDeleteFromNamespacesOptions): Promise; // (undocumented) static errors: typeof SavedObjectsErrorHelpers; // (undocumented) errors: typeof SavedObjectsErrorHelpers; find(options: SavedObjectsFindOptions): Promise>; get(type: string, id: string, options?: SavedObjectsBaseOptions): Promise>; update(type: string, id: string, attributes: Partial, options?: SavedObjectsUpdateOptions): Promise>; } // @public export type SavedObjectsClientContract = Pick; // @public export type SavedObjectsClientFactory = ({ request, includedHiddenTypes, }: { request: OpenSearchDashboardsRequest; includedHiddenTypes?: string[]; }) => SavedObjectsClientContract; // @public export type SavedObjectsClientFactoryProvider = (repositoryFactory: SavedObjectsRepositoryFactory) => SavedObjectsClientFactory; // @public export interface SavedObjectsClientProviderOptions { // (undocumented) excludedWrappers?: string[]; // (undocumented) includedHiddenTypes?: string[]; } // @public export type SavedObjectsClientWrapperFactory = (options: SavedObjectsClientWrapperOptions) => SavedObjectsClientContract; // @public export interface SavedObjectsClientWrapperOptions { // (undocumented) client: SavedObjectsClientContract; // (undocumented) request: OpenSearchDashboardsRequest; // (undocumented) typeRegistry: ISavedObjectTypeRegistry; } // @public (undocumented) export interface SavedObjectsCreateOptions extends SavedObjectsBaseOptions { id?: string; initialNamespaces?: string[]; migrationVersion?: SavedObjectsMigrationVersion; originId?: string; overwrite?: boolean; // (undocumented) references?: SavedObjectReference[]; refresh?: MutatingOperationRefreshSetting; version?: string; } // @public (undocumented) export interface SavedObjectsDeleteByNamespaceOptions extends SavedObjectsBaseOptions { refresh?: boolean; } // @public (undocumented) export interface SavedObjectsDeleteFromNamespacesOptions extends SavedObjectsBaseOptions { refresh?: MutatingOperationRefreshSetting; } // @public (undocumented) export interface SavedObjectsDeleteFromNamespacesResponse { namespaces: string[]; } // @public (undocumented) export interface SavedObjectsDeleteOptions extends SavedObjectsBaseOptions { force?: boolean; refresh?: MutatingOperationRefreshSetting; } // @public (undocumented) export class SavedObjectsErrorHelpers { // (undocumented) static createBadRequestError(reason?: string): DecoratedError; // (undocumented) static createConflictError(type: string, id: string): DecoratedError; // (undocumented) static createGenericNotFoundError(type?: string | null, id?: string | null): DecoratedError; // (undocumented) static createInvalidVersionError(versionInput?: string): DecoratedError; // (undocumented) static createTooManyRequestsError(type: string, id: string): DecoratedError; // (undocumented) static createUnsupportedTypeError(type: string): DecoratedError; // (undocumented) static decorateBadRequestError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateConflictError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateForbiddenError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateGeneralError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateNotAuthorizedError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateOpenSearchCannotExecuteScriptError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateOpenSearchUnavailableError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateRequestEntityTooLargeError(error: Error, reason?: string): DecoratedError; // (undocumented) static decorateTooManyRequestsError(error: Error, reason?: string): DecoratedError; // (undocumented) static isBadRequestError(error: Error | DecoratedError): boolean; // (undocumented) static isConflictError(error: Error | DecoratedError): boolean; // (undocumented) static isForbiddenError(error: Error | DecoratedError): boolean; // (undocumented) static isInvalidVersionError(error: Error | DecoratedError): boolean; // (undocumented) static isNotAuthorizedError(error: Error | DecoratedError): boolean; // (undocumented) static isNotFoundError(error: Error | DecoratedError): boolean; // (undocumented) static isOpenSearchCannotExecuteScriptError(error: Error | DecoratedError): boolean; // (undocumented) static isOpenSearchUnavailableError(error: Error | DecoratedError): boolean; // (undocumented) static isRequestEntityTooLargeError(error: Error | DecoratedError): boolean; // Warning: (ae-forgotten-export) The symbol "DecoratedError" needs to be exported by the entry point index.d.ts // // (undocumented) static isSavedObjectsClientError(error: any): error is DecoratedError; // (undocumented) static isTooManyRequestsError(error: Error | DecoratedError): boolean; } // @public export interface SavedObjectsExportOptions { excludeExportDetails?: boolean; exportSizeLimit: number; includeReferencesDeep?: boolean; namespace?: string; objects?: Array<{ id: string; type: string; }>; savedObjectsClient: SavedObjectsClientContract; search?: string; types?: string[]; } // @public export interface SavedObjectsExportResultDetails { exportedCount: number; missingRefCount: number; missingReferences: Array<{ id: string; type: string; }>; } // @public export type SavedObjectsFieldMapping = opensearchtypes.MappingProperty & { dynamic?: false | 'strict'; }; // @public (undocumented) export interface SavedObjectsFindOptions { // (undocumented) defaultSearchOperator?: 'AND' | 'OR'; fields?: string[]; // Warning: (ae-forgotten-export) The symbol "KueryNode" needs to be exported by the entry point index.d.ts // // (undocumented) filter?: string | KueryNode; // (undocumented) hasReference?: { type: string; id: string; }; // (undocumented) namespaces?: string[]; // (undocumented) page?: number; // (undocumented) perPage?: number; preference?: string; rootSearchFields?: string[]; search?: string; searchFields?: string[]; // (undocumented) sortField?: string; // (undocumented) sortOrder?: string; // (undocumented) type: string | string[]; typeToNamespacesMap?: Map; } // @public export interface SavedObjectsFindResponse { // (undocumented) page: number; // (undocumented) per_page: number; // (undocumented) saved_objects: Array>; // (undocumented) total: number; } // @public (undocumented) export interface SavedObjectsFindResult extends SavedObject { score: number; } // @public export interface SavedObjectsImportAmbiguousConflictError { // (undocumented) destinations: Array<{ id: string; title?: string; updatedAt?: string; }>; // (undocumented) type: 'ambiguous_conflict'; } // @public export interface SavedObjectsImportConflictError { // (undocumented) destinationId?: string; // (undocumented) type: 'conflict'; } // @public export interface SavedObjectsImportError { // (undocumented) error: SavedObjectsImportConflictError | SavedObjectsImportAmbiguousConflictError | SavedObjectsImportUnsupportedTypeError | SavedObjectsImportMissingReferencesError | SavedObjectsImportUnknownError; // (undocumented) id: string; // (undocumented) meta: { title?: string; icon?: string; }; overwrite?: boolean; // @deprecated (undocumented) title?: string; // (undocumented) type: string; } // @public export interface SavedObjectsImportMissingReferencesError { // (undocumented) references: Array<{ type: string; id: string; }>; // (undocumented) type: 'missing_references'; } // @public export interface SavedObjectsImportOptions { createNewCopies: boolean; namespace?: string; objectLimit: number; overwrite: boolean; readStream: Readable; savedObjectsClient: SavedObjectsClientContract; typeRegistry: ISavedObjectTypeRegistry; } // @public export interface SavedObjectsImportResponse { // (undocumented) errors?: SavedObjectsImportError[]; // (undocumented) success: boolean; // (undocumented) successCount: number; // (undocumented) successResults?: SavedObjectsImportSuccess[]; } // @public export interface SavedObjectsImportRetry { createNewCopy?: boolean; destinationId?: string; // (undocumented) id: string; ignoreMissingReferences?: boolean; // (undocumented) overwrite: boolean; // (undocumented) replaceReferences: Array<{ type: string; from: string; to: string; }>; // (undocumented) type: string; } // @public export interface SavedObjectsImportSuccess { // @deprecated (undocumented) createNewCopy?: boolean; destinationId?: string; // (undocumented) id: string; // (undocumented) meta: { title?: string; icon?: string; }; overwrite?: boolean; // (undocumented) type: string; } // @public export interface SavedObjectsImportUnknownError { // (undocumented) message: string; // (undocumented) statusCode: number; // (undocumented) type: 'unknown'; } // @public export interface SavedObjectsImportUnsupportedTypeError { // (undocumented) type: 'unsupported_type'; } // @public (undocumented) export interface SavedObjectsIncrementCounterOptions extends SavedObjectsBaseOptions { // (undocumented) migrationVersion?: SavedObjectsMigrationVersion; refresh?: MutatingOperationRefreshSetting; } // @public export interface SavedObjectsMappingProperties { // (undocumented) [field: string]: SavedObjectsFieldMapping; } // @public (undocumented) export interface SavedObjectsMigrationLogger { // (undocumented) debug: (msg: string) => void; // (undocumented) error: (msg: string, meta: LogMeta) => void; // (undocumented) info: (msg: string) => void; // (undocumented) warn: (msg: string) => void; // @deprecated (undocumented) warning: (msg: string) => void; } // @public export interface SavedObjectsMigrationVersion { // (undocumented) [pluginName: string]: string; } // @public export type SavedObjectsNamespaceType = 'single' | 'multiple' | 'agnostic'; // @public export interface SavedObjectsRawDoc { // (undocumented) _id: string; // (undocumented) _primary_term?: number; // (undocumented) _seq_no?: number; // Warning: (ae-forgotten-export) The symbol "SavedObjectsRawDocSource" needs to be exported by the entry point index.d.ts // // (undocumented) _source: SavedObjectsRawDocSource; // (undocumented) _type?: string; } // @public (undocumented) export class SavedObjectsRepository { addToNamespaces(type: string, id: string, namespaces: string[], options?: SavedObjectsAddToNamespacesOptions): Promise; bulkCreate(objects: Array>, options?: SavedObjectsCreateOptions): Promise>; bulkGet(objects?: SavedObjectsBulkGetObject[], options?: SavedObjectsBaseOptions): Promise>; bulkUpdate(objects: Array>, options?: SavedObjectsBulkUpdateOptions): Promise>; checkConflicts(objects?: SavedObjectsCheckConflictsObject[], options?: SavedObjectsBaseOptions): Promise; create(type: string, attributes: T, options?: SavedObjectsCreateOptions): Promise>; // Warning: (ae-forgotten-export) The symbol "IOpenSearchDashboardsMigrator" needs to be exported by the entry point index.d.ts // // @internal static createRepository(migrator: IOpenSearchDashboardsMigrator, typeRegistry: SavedObjectTypeRegistry, indexName: string, client: OpenSearchClient, includedHiddenTypes?: string[], injectedConstructor?: any): ISavedObjectsRepository; delete(type: string, id: string, options?: SavedObjectsDeleteOptions): Promise<{}>; deleteByNamespace(namespace: string, options?: SavedObjectsDeleteByNamespaceOptions): Promise; deleteFromNamespaces(type: string, id: string, namespaces: string[], options?: SavedObjectsDeleteFromNamespacesOptions): Promise; // (undocumented) find(options: SavedObjectsFindOptions): Promise>; get(type: string, id: string, options?: SavedObjectsBaseOptions): Promise>; incrementCounter(type: string, id: string, counterFieldName: string, options?: SavedObjectsIncrementCounterOptions): Promise; update(type: string, id: string, attributes: Partial, options?: SavedObjectsUpdateOptions): Promise>; } // @public export interface SavedObjectsRepositoryFactory { createInternalRepository: (includedHiddenTypes?: string[]) => ISavedObjectsRepository; createScopedRepository: (req: OpenSearchDashboardsRequest, includedHiddenTypes?: string[]) => ISavedObjectsRepository; } // @public export interface SavedObjectsResolveImportErrorsOptions { createNewCopies: boolean; namespace?: string; objectLimit: number; readStream: Readable; retries: SavedObjectsImportRetry[]; savedObjectsClient: SavedObjectsClientContract; typeRegistry: ISavedObjectTypeRegistry; } // @public export class SavedObjectsSerializer { // @internal constructor(registry: ISavedObjectTypeRegistry); generateRawId(namespace: string | undefined, type: string, id?: string): string; isRawSavedObject(rawDoc: SavedObjectsRawDoc): boolean; rawToSavedObject(doc: SavedObjectsRawDoc): SavedObjectSanitizedDoc; savedObjectToRaw(savedObj: SavedObjectSanitizedDoc): SavedObjectsRawDoc; } // @public export interface SavedObjectsServiceSetup { addClientWrapper: (priority: number, id: string, factory: SavedObjectsClientWrapperFactory) => void; getImportExportObjectLimit: () => number; registerType: (type: SavedObjectsType) => void; setClientFactoryProvider: (clientFactoryProvider: SavedObjectsClientFactoryProvider) => void; } // @public export interface SavedObjectsServiceStart { createInternalRepository: (includedHiddenTypes?: string[]) => ISavedObjectsRepository; createScopedRepository: (req: OpenSearchDashboardsRequest, includedHiddenTypes?: string[]) => ISavedObjectsRepository; createSerializer: () => SavedObjectsSerializer; getScopedClient: (req: OpenSearchDashboardsRequest, options?: SavedObjectsClientProviderOptions) => SavedObjectsClientContract; getTypeRegistry: () => ISavedObjectTypeRegistry; } // @public export interface SavedObjectStatusMeta { // (undocumented) migratedIndices: { [status: string]: number; skipped: number; migrated: number; }; } // @public (undocumented) export interface SavedObjectsType { convertToAliasScript?: string; hidden: boolean; indexPattern?: string; management?: SavedObjectsTypeManagementDefinition; mappings: SavedObjectsTypeMappingDefinition; migrations?: SavedObjectMigrationMap; name: string; namespaceType: SavedObjectsNamespaceType; } // @public export interface SavedObjectsTypeManagementDefinition { defaultSearchField?: string; getEditUrl?: (savedObject: SavedObject) => string; getInAppUrl?: (savedObject: SavedObject) => { path: string; uiCapabilitiesPath: string; }; getTitle?: (savedObject: SavedObject) => string; icon?: string; importableAndExportable?: boolean; } // @public export interface SavedObjectsTypeMappingDefinition { dynamic?: false | 'strict'; properties: SavedObjectsMappingProperties; } // @public (undocumented) export interface SavedObjectsUpdateOptions extends SavedObjectsBaseOptions { references?: SavedObjectReference[]; refresh?: MutatingOperationRefreshSetting; version?: string; } // @public (undocumented) export interface SavedObjectsUpdateResponse extends Omit, 'attributes' | 'references'> { // (undocumented) attributes: Partial; // (undocumented) references: SavedObjectReference[] | undefined; } // @public (undocumented) export class SavedObjectsUtils { static createEmptyFindResponse: ({ page, perPage, }: SavedObjectsFindOptions) => SavedObjectsFindResponse; static namespaceIdToString: (namespace?: string | undefined) => string; static namespaceStringToId: (namespace: string) => string | undefined; } // @public export class SavedObjectTypeRegistry { getAllTypes(): SavedObjectsType[]; getImportableAndExportableTypes(): SavedObjectsType[]; getIndex(type: string): string | undefined; getType(type: string): SavedObjectsType | undefined; getVisibleTypes(): SavedObjectsType[]; isHidden(type: string): boolean; isImportableAndExportable(type: string): boolean; isMultiNamespace(type: string): boolean; isNamespaceAgnostic(type: string): boolean; isSingleNamespace(type: string): boolean; registerType(type: SavedObjectsType): void; } // @public export type SavedObjectUnsanitizedDoc = SavedObjectDoc & Partial; // @public export type ScopeableRequest = OpenSearchDashboardsRequest | LegacyRequest | FakeRequest; // @public (undocumented) export interface SearchResponse { // (undocumented) aggregations?: any; // (undocumented) hits: { total: number; max_score: number; hits: Array<{ _index: string; _type: string; _id: string; _score: number; _source: T; _version?: number; _explanation?: Explanation; fields?: any; highlight?: any; inner_hits?: any; matched_queries?: string[]; sort?: string[]; }>; }; // (undocumented) _scroll_id?: string; // (undocumented) _shards: ShardsResponse; // (undocumented) timed_out: boolean; // (undocumented) took: number; } // @public export interface ServiceStatus | unknown = unknown> { detail?: string; documentationUrl?: string; level: ServiceStatusLevel; meta?: Meta; summary: string; } // @public export type ServiceStatusLevel = typeof ServiceStatusLevels[keyof typeof ServiceStatusLevels]; // @public export const ServiceStatusLevels: Readonly<{ available: Readonly<{ toString: () => "available"; valueOf: () => 0; toJSON: () => "available"; }>; degraded: Readonly<{ toString: () => "degraded"; valueOf: () => 1; toJSON: () => "degraded"; }>; unavailable: Readonly<{ toString: () => "unavailable"; valueOf: () => 2; toJSON: () => "unavailable"; }>; critical: Readonly<{ toString: () => "critical"; valueOf: () => 3; toJSON: () => "critical"; }>; }>; // @public export interface SessionCookieValidationResult { isValid: boolean; path?: string; } // @public export interface SessionStorage { clear(): void; get(): Promise; set(sessionValue: T): void; } // @public export interface SessionStorageCookieOptions { encryptionKey: string; isSecure: boolean; name: string; sameSite?: 'Strict' | 'Lax' | 'None'; validate: (sessionValue: T | T[]) => SessionCookieValidationResult; } // @public export interface SessionStorageFactory { // (undocumented) asScoped: (request: OpenSearchDashboardsRequest) => SessionStorage; } // @public (undocumented) export interface ShardsInfo { // (undocumented) failed: number; // (undocumented) skipped: number; // (undocumented) successful: number; // (undocumented) total: number; } // @public (undocumented) export interface ShardsResponse { // (undocumented) failed: number; // (undocumented) skipped: number; // (undocumented) successful: number; // (undocumented) total: number; } // @public (undocumented) export type SharedGlobalConfig = RecursiveReadonly<{ opensearchDashboards: Pick; opensearch: Pick; path: Pick; savedObjects: Pick; }>; // @public export type StartServicesAccessor = () => Promise<[CoreStart, TPluginsStart, TStart]>; // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "ServiceStatusSetup" // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "ServiceStatusSetup" // // @public export interface StatusServiceSetup { core$: Observable; dependencies$: Observable>; // Warning: (ae-unresolved-link) The @link reference could not be resolved: The package "opensearch-dashboards" does not have an export "StatusSetup" derivedStatus$: Observable; isStatusPageAnonymous: () => boolean; overall$: Observable; set(status$: Observable): void; } // @public export type StringValidation = StringValidationRegex | StringValidationRegexString; // @public export interface StringValidationRegex { // (undocumented) message: string; // (undocumented) regex: RegExp; } // @public export interface StringValidationRegexString { // (undocumented) message: string; // (undocumented) regexString: string; } // @public export interface UiSettingsParams { category?: string[]; deprecation?: DeprecationSettings; description?: string; name?: string; optionLabels?: Record; options?: string[]; readonly?: boolean; requiresPageReload?: boolean; // (undocumented) schema: Type; type?: UiSettingsType; // (undocumented) validation?: ImageValidation | StringValidation; value?: T; } // @public (undocumented) export interface UiSettingsServiceSetup { register(settings: Record): void; } // @public (undocumented) export interface UiSettingsServiceStart { asScopedToClient(savedObjectsClient: SavedObjectsClientContract): IUiSettingsClient; } // @public export type UiSettingsType = 'undefined' | 'json' | 'markdown' | 'number' | 'select' | 'boolean' | 'string' | 'array' | 'image'; // @public export interface UserProvidedValues { // (undocumented) isOverridden?: boolean; // (undocumented) userValue?: T; } // @public export const validBodyOutput: readonly ["data", "stream"]; // Warnings were encountered during analysis: // // src/core/server/plugins/types.ts:274:3 - (ae-forgotten-export) The symbol "OpenSearchDashboardsConfigType" needs to be exported by the entry point index.d.ts // src/core/server/plugins/types.ts:274:3 - (ae-forgotten-export) The symbol "SharedGlobalConfigKeys" needs to be exported by the entry point index.d.ts // src/core/server/plugins/types.ts:280:3 - (ae-forgotten-export) The symbol "SavedObjectsConfigType" needs to be exported by the entry point index.d.ts ```