/** * Generic event handlers — game.message and the catch-all generic * fallback for unknown event types. * * Public interface: `handleGameMessage`, `handleGenericEvent`. Used * by the pipeline's event-type dispatch. * * Owner context: `@sharpee/engine` — internal prose pipeline. * * @see ADR-174 §Engine-internal prose pipeline (port from text-service) */ import type { ITextBlock } from '@sharpee/text-blocks'; import type { ISemanticEvent } from '@sharpee/core'; import type { HandlerContext } from './types'; /** * Handle `game.message` events. */ export declare function handleGameMessage(event: ISemanticEvent, context: HandlerContext): ITextBlock[]; /** * Handle generic / unknown events using `event.type` as the template key. * * Story-defined events follow the simple pattern: * - event.type is the template key * - event.data is the template params */ export declare function handleGenericEvent(event: ISemanticEvent, context: HandlerContext): ITextBlock[]; //# sourceMappingURL=generic.d.ts.map