/** * Command-failed handler — `command.failed`. * * Maps parser / entity-resolution failure reasons to user-facing * error prose. Recognized reason fragments: * - `ENTITY_NOT_FOUND` / `modifiers_not_matched` → * `core.entity_not_found` (default: "I don't see that here.") * - `NO_MATCH` / `parse` → * `core.command_not_understood` (default: "I don't understand that.") * Anything else → `core.command_failed` (same default). * * Public interface: `handleCommandFailed`. Used by the pipeline's * event-type dispatch. * * Owner context: `@sharpee/engine` — internal prose pipeline. * * @see ADR-174 §Engine-internal prose pipeline (extracted from * text-service.ts inline) */ import type { ITextBlock } from '@sharpee/text-blocks'; import type { ISemanticEvent } from '@sharpee/core'; import type { HandlerContext } from './types'; export declare function handleCommandFailed(event: ISemanticEvent, context: HandlerContext): ITextBlock[]; //# sourceMappingURL=command-failed.d.ts.map