import type { RawInstanceLocator } from '@ariestools/actor-model'; import type { ActorSystemActor, ActorSystemConfig, ActorSystemProviderDeclaration, ActorSystemProviderDescriptor, ActorSystemSelection, ActorSystemSession, LaunchActorSystemOptions, LaunchCompiledActorSystemOptions, ResolvedActorSystemConfig, ResolvedActorSystemProviderPlan } from '@ariestools/actor-system'; import { type InterruptJoinHost, type InterruptJoinOptions } from './InterruptJoin.ts'; /** Compatibility alias for the neutral actor-system lifecycle contract. */ export type CliSystemActor = ActorSystemActor; /** Keep the existing cli-kit import site while using actor-system's neutral policy. */ export { sequentialActorSystemSupervision } from '@ariestools/actor-system'; /** Running config-defined actor system supervised for a CLI process. */ export type CliSystemSession = ActorSystemSession; /** Neutral actor-system launch inputs with the CLI supervision default. */ export type LaunchCliSystemOptions = LaunchActorSystemOptions; /** Already-compiled actor-system launch inputs with the CLI policy default. */ export type LaunchCompiledCliSystemOptions = LaunchCompiledActorSystemOptions; /** Launches one compiled actor system using sequential CLI supervision by default. */ export declare function launchCompiledCliSystem(options: LaunchCompiledCliSystemOptions): Promise>; /** * Resolves and launches one config-defined actor system using sequential CLI * supervision by default. Applications may inject another actor-system * supervision policy explicitly without changing provider resolution. */ export declare function launchCliSystem(options: LaunchCliSystemOptions): Promise>; /** * Joins a launched CLI system to the process interrupt boundary and resident * actor terminal failures. Either outcome stops the system exactly once; * actor failures are rethrown after cooperative cleanup. Cleanup uses the * configured join deadline; a second interrupt also escalates the join. * Hosts with an exit capability request termination on escalation, while * minimal hosts reject with an ordinary join escalation error. */ export declare function runCliSystemUntilInterrupt(host: InterruptJoinHost, session: Pick, options?: InterruptJoinOptions): Promise; //# sourceMappingURL=CliActorSystem.d.ts.map