UNPKG

@ai2070/l0

Version:

L0: The Missing Reliability Substrate for AI

18 lines 1.14 kB
import type { L0Options, L0Result, L0Adapter } from "../types/l0"; import type { DriftDetector as DriftDetectorType } from "./drift"; import type { L0Monitor as L0MonitorType } from "./monitoring"; import type { InterceptorManager as InterceptorManagerType } from "./interceptors"; export declare function enableDriftDetection(factory: () => DriftDetectorType): void; export declare function enableMonitoring(factory: (config: unknown) => L0MonitorType): void; export declare function enableInterceptors(factory: (interceptors: unknown[]) => InterceptorManagerType): void; export declare function enableAdapterRegistry(registry: { getAdapter: (name: string) => L0Adapter | undefined; hasMatchingAdapter: (stream: unknown) => boolean; detectAdapter: (stream: unknown) => L0Adapter; }): void; export { getText, consumeStream } from "./helpers"; export { StateMachine, RuntimeStates } from "./state-machine"; export type { RuntimeState } from "./state-machine"; export { Metrics } from "./metrics"; export declare function l0<TOutput = unknown>(options: L0Options<TOutput>): Promise<L0Result<TOutput>>; //# sourceMappingURL=l0.d.ts.map