/** * Module Loader * * Core module loading utilities with ts/engine implementation selection. */ import type { LlmsImpl } from '../core-loader.js'; type AnyRecord = Record; declare function parsePrefixList(raw: string | undefined): string[]; declare function matchesPrefix(subpath: string, prefixes: string[]): boolean; declare function isEngineEnabled(): boolean; declare function getEnginePrefixes(): string[]; declare function resolveImplForSubpath(subpath: string): LlmsImpl; declare function importCoreDist(subpath: string, impl?: LlmsImpl): Promise; declare function requireCoreDist(subpath: string, impl?: LlmsImpl): TModule; export { parsePrefixList, matchesPrefix, isEngineEnabled, getEnginePrefixes, resolveImplForSubpath, importCoreDist, requireCoreDist }; export type { AnyRecord, LlmsImpl };