declare const IntentMatchError_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: "IntentMatchError";
} & Readonly;
/**
* Error thrown when regex pattern is invalid or semantic matching fails.
*/
export declare class IntentMatchError extends IntentMatchError_base<{
readonly message: string;
readonly cause?: Error;
}> {
}
declare const IntentNotFoundError_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: "IntentNotFoundError";
} & Readonly;
/**
* Error thrown when no intents match the user message.
*/
export declare class IntentNotFoundError extends IntentNotFoundError_base<{
readonly message: string;
}> {
}
declare const ActionHandlerNotFoundError_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: "ActionHandlerNotFoundError";
} & Readonly;
/**
* Error thrown when no handler is registered for an action type.
*/
export declare class ActionHandlerNotFoundError extends ActionHandlerNotFoundError_base<{
readonly actionType: string;
readonly message?: string;
}> {
}
declare const DefaultAgentNotConfiguredError_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: "DefaultAgentNotConfiguredError";
} & Readonly;
/**
* Error thrown when routing to default agent but none is configured.
*/
export declare class DefaultAgentNotConfiguredError extends DefaultAgentNotConfiguredError_base<{
readonly message: string;
}> {
}
declare const IntentRouteError_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: "IntentRouteError";
} & Readonly;
/**
* Error thrown when routing to an intent action fails.
*/
export declare class IntentRouteError extends IntentRouteError_base<{
readonly intentId: string;
readonly message?: string;
readonly cause: Error;
}> {
}
export declare const getActionHandlerNotFoundMessage: (actionType: string) => string;
export declare const getDefaultAgentNotConfiguredMessage: () => string;
export declare const getIntentRouteErrorMessage: (intentId: string) => string;
/**
* Union type for all intent errors, enabling exhaustive catchTag handling.
*/
export type IntentError = IntentMatchError | IntentNotFoundError | ActionHandlerNotFoundError | DefaultAgentNotConfiguredError | IntentRouteError;
export {};
//# sourceMappingURL=errors.d.ts.map