import { ActionRegistry } from "../core/action-registry.js"; import type { FabricInvocationContext, FabricScopedProviderResult } from "../protocol.js"; import { type FabricOwnedModelGuidance } from "./model-guidance.js"; import type { FabricComponentDefinition, FabricComponentEntry, FabricComponentGraph, FabricComponentInfo, FabricComponentStopOptions } from "./types.js"; export interface FabricComponentSupervisorOptions { invocationContext?(): FabricInvocationContext; invoke?(ref: string, args: Record, context: FabricInvocationContext): Promise; acquire?(ref: string, args: Record, context: FabricInvocationContext): Promise; maxResultChars?: number; } export declare class FabricComponentSupervisor { #private; readonly registry: ActionRegistry; readonly options: FabricComponentSupervisorOptions; constructor(registry: ActionRegistry, options?: FabricComponentSupervisorOptions); subscribe(listener: (componentId?: string) => void): () => void; assertLifecycleEntryAllowed(operation: string): void; list(): FabricComponentInfo[]; status(id: string): FabricComponentInfo; guidance(): FabricOwnedModelGuidance[]; graph(): FabricComponentGraph; start(entry: FabricComponentEntry, definition: FabricComponentDefinition): Promise; replace(id: string, entry: FabricComponentEntry, definition: FabricComponentDefinition): Promise; stop(id: string, options?: FabricComponentStopOptions): Promise; refresh(): void; settle(): Promise; close(): Promise; } //# sourceMappingURL=supervisor.d.ts.map