import { LaunchDarklyCore } from "../core.js";
import { RequestOptions } from "../lib/sdks.js";
import * as components from "../models/components/index.js";
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
import * as errors from "../models/errors/index.js";
import { LaunchDarklyError } from "../models/errors/launchdarklyerror.js";
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
import * as operations from "../models/operations/index.js";
import { APIPromise } from "../types/async.js";
import { Result } from "../types/fp.js";
/**
 * Get metric
 *
 * @remarks
 * Get information for a single metric from the specific project.
 *
 * ### Expanding the metric response
 * LaunchDarkly supports four fields for expanding the "Get metric" response. By default, these fields are **not** included in the response.
 *
 * To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:
 *
 * - `experiments` includes all experiments from the specific project that use the metric
 * - `experimentCount` includes the number of experiments from the specific project that use the metric
 * - `metricGroups` includes all metric groups from the specific project that use the metric
 * - `metricGroupCount` includes the number of metric groups from the specific project that use the metric
 *
 * For example, `expand=experiments` includes the `experiments` field in the response.
 */
export declare function metricsGet(client: LaunchDarklyCore, request: operations.GetMetricRequest, options?: RequestOptions): APIPromise<Result<components.MetricRep, errors.UnauthorizedErrorRep | errors.ForbiddenErrorRep | errors.NotFoundErrorRep | errors.RateLimitedErrorRep | LaunchDarklyError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
//# sourceMappingURL=metricsGet.d.ts.map