import type { DimensionsMap } from "aws-cdk-lib/aws-cloudwatch"; import type { CfnCollection } from "aws-cdk-lib/aws-opensearchserverless"; import { BaseMetricFactoryProps, BaseMetricFactory, MetricFactory, MetricWithAlarmSupport } from "../../common"; export interface OpenSearchServerlessIndexMetricFactoryProps extends BaseMetricFactoryProps { readonly collection: CfnCollection; readonly indexId: string; readonly indexName: string; } /** * @experimental This is subject to change if an L2 construct becomes available. * * @see https://docs.aws.amazon.com/opensearch-service/latest/developerguide/monitoring-cloudwatch.html */ export declare class OpenSearchServerlessIndexMetricFactory extends BaseMetricFactory { protected readonly dimensionsMap: DimensionsMap; constructor(metricFactory: MetricFactory, props: OpenSearchServerlessIndexMetricFactoryProps); metricIndexSearchableDocuments(): MetricWithAlarmSupport; }