/** * @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; function server(name: string): MaybePromise; function device(name: string): MaybePromise; function endpoint(name: string): MaybePromise; const registry: Record | undefined>; } //# sourceMappingURL=loader.d.ts.map