/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Behavior } from "#behavior/Behavior.js";
import { EndpointType } from "#endpoint/type/EndpointType.js";
import { MaybePromise } from "@matter/general";
/**
 * Dynamically load API components.
 *
 * We generate a huge amount of code, both statically and at runtime.  You can use this namespace to load components
 * from this package dynamically regardless of module format (CJS or ESM).
 *
 * If you are not targeting both formats then either require or a dynamic import may make more sense.
 */
export declare namespace loader {
    function behavior(name: string): MaybePromise<Behavior.Type>;
    function server(name: string): MaybePromise<Behavior.Type>;
    function device(name: string): MaybePromise<EndpointType>;
    function endpoint(name: string): MaybePromise<EndpointType>;
    const registry: Record<string, Record<string, {} | undefined> | undefined>;
}
//# sourceMappingURL=loader.d.ts.map