/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
import type { Loader, LoaderReturn } from './types.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<TLoader extends Loader>(loader: TLoader): LoaderReturn<TLoader>;
