/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import type { Loader, LoaderReturn } from './types.js'; export { Errors as TelemetryErrors } from './errorHelper.js'; /** * Loads the optional OpenTelemetry dependencies and returns the telemetry factory used by the package entrypoints. * * @remarks * - The loader can be synchronous or asynchronous. * - Missing optional dependencies only disable the related feature and emit a warning. */ export declare function index(loader: TLoader): LoaderReturn;