import type { MoxxyRequirement, RequirementCheck, RequirementKind, RequirementState, AgentDef, ChannelDef, CommandDef, CompactorDef, ModeDef, ProviderDef, ToolDef, TranscriberDef, SynthesizerDef } from '@moxxy/sdk'; export interface RequirementChecker { check(requirements: ReadonlyArray | undefined): RequirementCheck; } export interface RequirementRegistryOptions { readonly tools: { get(name: string): ToolDef | undefined; }; readonly providers: { list(): ReadonlyArray; getActiveName(): string | null; }; readonly modes: { list(): ReadonlyArray; getActive(): ModeDef; }; readonly compactors: { list(): ReadonlyArray; getActive(): CompactorDef | null; }; readonly channels: { get(name: string): ChannelDef | undefined; }; readonly agents: { get(name: string): AgentDef | undefined; }; readonly commands: { get(name: string): CommandDef | undefined; }; readonly transcribers: { list(): ReadonlyArray; getActiveName(): string | null; }; readonly synthesizers: { list(): ReadonlyArray; getActiveName(): string | null; }; } export declare class RequirementRegistry { private readonly opts; private readonly runtime; private readonly plugins; constructor(opts: RequirementRegistryOptions); registerPlugin(name: string, version: string): void; unregisterPlugin(name: string): void; setRuntime(name: string, state?: RequirementState): void; clearRuntime(name: string): void; check(requirements: ReadonlyArray | undefined): RequirementCheck; /** * Convenience: check whether a single named target is present and (if * its kind has an active/inactive distinction) currently active. * Equivalent to `check([{ kind, name, state: 'active' }])`. */ isReady(kind: RequirementKind, name: string): RequirementCheck; private checkOne; private checkRuntime; private targetInfo; } //# sourceMappingURL=requirements.d.ts.map