declare const SubagentAlreadyExistsError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "SubagentAlreadyExistsError";
} & Readonly;
export declare class SubagentAlreadyExistsError extends SubagentAlreadyExistsError_base<{
readonly subagentId: string;
}> {
}
declare const SubagentNotFoundError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "SubagentNotFoundError";
} & Readonly;
export declare class SubagentNotFoundError extends SubagentNotFoundError_base<{
readonly subagentId: string;
}> {
}
declare const SubagentBusyError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "SubagentBusyError";
} & Readonly;
export declare class SubagentBusyError extends SubagentBusyError_base<{
readonly subagentId: string;
}> {
}
declare const SubagentDestroyedError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "SubagentDestroyedError";
} & Readonly;
export declare class SubagentDestroyedError extends SubagentDestroyedError_base<{
readonly subagentId: string;
}> {
}
declare const SubagentExecutionError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "SubagentExecutionError";
} & Readonly;
export declare class SubagentExecutionError extends SubagentExecutionError_base<{
readonly subagentId: string;
readonly command: string;
readonly message: string;
readonly exitCode?: number | null;
readonly signal?: NodeJS.Signals | null;
readonly stdoutPreview?: string;
readonly stderrPreview?: string;
readonly cause?: unknown;
}> {
}
declare const SubagentTimeoutError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "SubagentTimeoutError";
} & Readonly;
export declare class SubagentTimeoutError extends SubagentTimeoutError_base<{
readonly subagentId: string;
readonly command: string;
readonly timeoutMs: number;
readonly stdoutPreview?: string;
readonly stderrPreview?: string;
}> {
}
export type SubagentError = SubagentAlreadyExistsError | SubagentNotFoundError | SubagentBusyError | SubagentDestroyedError | SubagentExecutionError | SubagentTimeoutError;
export {};
//# sourceMappingURL=errors.d.ts.map