import type { Loader } from '@forgeax/engine-types'; import { LoaderRegistry } from './loader-registry'; /** * Wire the engine's default loader set plus any `extraLoaders` onto `registry` in * one call. Returns the same `registry` for chaining (so `wireDefaultLoaders(new * LoaderRegistry())` is a one-expression wired registry). The `extraLoaders` are * appended after the defaults and must use kinds outside the ordinary set. * * @example * ```ts * import { LoaderRegistry, wireDefaultLoaders } from '@forgeax/engine-assets-runtime'; * const loaders = wireDefaultLoaders(new LoaderRegistry()); * // loaders.get('mesh') / .get('texture') / .get('font') / .get('video') are * // non-undefined; all ordinary Asset kinds share this same owner table. * ``` */ export declare function wireDefaultLoaders(registry: LoaderRegistry, extraLoaders?: readonly Loader[]): LoaderRegistry; /** * Convenience factory: a fresh `LoaderRegistry` pre-wired with the default * loader set (plus any `extraLoaders`). The production assembly point * (`createRenderer`) and tests pass the result into `new LoaderRegistry()` (D-7 * constructor-injection; loaders always wired at construction -- used by * `AssetRegistry` internally via `createDefaultLoaderRegistry(extraLoaders)` and * by host code / tests independently) -- no setter / no illegal intermediate * state). */ export declare function createDefaultLoaderRegistry(extraLoaders?: readonly Loader[]): LoaderRegistry; //# sourceMappingURL=wire-default-loaders.d.ts.map