export declare const SUBAGENT_TARGET_KIND_SUBAGENT: "subagent"; export declare const SUBAGENT_TARGET_KIND_ACP: "acp"; export type SubagentLifecycleTargetKind = typeof SUBAGENT_TARGET_KIND_SUBAGENT | typeof SUBAGENT_TARGET_KIND_ACP; export declare const SUBAGENT_ENDED_REASON_COMPLETE: "subagent-complete"; export declare const SUBAGENT_ENDED_REASON_ERROR: "subagent-error"; export declare const SUBAGENT_ENDED_REASON_KILLED: "subagent-killed"; export declare const SUBAGENT_ENDED_REASON_SESSION_RESET: "session-reset"; export declare const SUBAGENT_ENDED_REASON_SESSION_DELETE: "session-delete"; export type SubagentLifecycleEndedReason = typeof SUBAGENT_ENDED_REASON_COMPLETE | typeof SUBAGENT_ENDED_REASON_ERROR | typeof SUBAGENT_ENDED_REASON_KILLED | typeof SUBAGENT_ENDED_REASON_SESSION_RESET | typeof SUBAGENT_ENDED_REASON_SESSION_DELETE; export type SubagentSessionLifecycleEndedReason = typeof SUBAGENT_ENDED_REASON_SESSION_RESET | typeof SUBAGENT_ENDED_REASON_SESSION_DELETE; export declare const SUBAGENT_ENDED_OUTCOME_OK: "ok"; export declare const SUBAGENT_ENDED_OUTCOME_ERROR: "error"; export declare const SUBAGENT_ENDED_OUTCOME_TIMEOUT: "timeout"; export declare const SUBAGENT_ENDED_OUTCOME_KILLED: "killed"; export declare const SUBAGENT_ENDED_OUTCOME_RESET: "reset"; export declare const SUBAGENT_ENDED_OUTCOME_DELETED: "deleted"; export type SubagentLifecycleEndedOutcome = typeof SUBAGENT_ENDED_OUTCOME_OK | typeof SUBAGENT_ENDED_OUTCOME_ERROR | typeof SUBAGENT_ENDED_OUTCOME_TIMEOUT | typeof SUBAGENT_ENDED_OUTCOME_KILLED | typeof SUBAGENT_ENDED_OUTCOME_RESET | typeof SUBAGENT_ENDED_OUTCOME_DELETED; export declare function resolveSubagentSessionEndedOutcome(reason: SubagentSessionLifecycleEndedReason): SubagentLifecycleEndedOutcome;