/** * LionRapid Builder - Enhanced with explicit namespace preloading */ import type { LionRapidCoreConfig } from './config/lionrapid.config.js'; import type { IEmbeddedPlugin, IPlugin } from './interfaces/plugin.interface.js'; import { IAsyncRepository, ISyncRepository } from './interfaces/repository.interface.js'; import { LionRapidCore } from './lionRapid.js'; import { type StaticBundle } from './repositories/static-repository.js'; /** * True when a preload failure deserves a loud console diagnostic: network or * server trouble the integrator should hear about. 404 (empty project) and * 423 (content still being prepared) are routine states, not failures. * The internal logger is compiled out of production bundles, so genuine * failures must reach console.warn explicitly. */ export declare function isLoudPreloadFailure(error: unknown): boolean; export declare class LionRapidBuilder { private config; private plugins; private syncStorageRepos; private asyncStorageRepos; private networkRepos; private syncQueue; constructor(config: LionRapidCoreConfig); static init(config?: LionRapidCoreConfig): LionRapidBuilder; private useSyncStorage; private useAsyncStorage; private useNetwork; use(instance: IPlugin | IEmbeddedPlugin | ISyncRepository | IAsyncRepository): LionRapidBuilder; /** * Offline resilience: seed a translation bundle (or the CLI's snapshot files) * as a read-only sync layer that resolves synchronously even with the server * down and nothing cached. Sits after the live memory layer (priority 0) at * `priority` (default 0.5), so fresh network data always shadows it. */ useStaticBundle(bundle: StaticBundle, priority?: number): LionRapidBuilder; build(): Promise; private executePreloading; } //# sourceMappingURL=builder.d.ts.map