/** * MessageDisplay hook event. * * Fires while assistant message text is displayed. Display-only: the * transcript and Claude's context keep the original text. Does not * support a matcher. * See https://code.claude.com/docs/en/hooks#messagedisplay. * * @since 0.1.0 */ import * as Effect from 'effect/Effect'; import * as Schema from 'effect/Schema'; import type { HookContext } from '../Context.js'; import type { HookDefinition } from '../Runner.js'; declare const Input_base: Schema.Class; readonly turn_id: Schema.String; readonly message_id: Schema.String; readonly index: Schema.Number; readonly final: Schema.Boolean; readonly delta: Schema.String; readonly session_id: Schema.String; readonly transcript_path: Schema.String; readonly cwd: Schema.String; readonly permission_mode: Schema.optionalKey; readonly effort: Schema.optionalKey; readonly agent_id: Schema.optionalKey; readonly agent_type: Schema.optionalKey; }>, {}>; export declare class Input extends Input_base { } declare const HookSpecificOutput_base: Schema.Class; readonly displayContent: Schema.optional; }>, {}>; export declare class HookSpecificOutput extends HookSpecificOutput_base { } declare const Output_base: Schema.Class; readonly stopReason: Schema.optional; readonly suppressOutput: Schema.optional; readonly systemMessage: Schema.optional; readonly terminalSequence: Schema.optional; readonly hookSpecificOutput: Schema.optional; }>, {}>; export declare class Output extends Output_base { } export declare const passthrough: () => Output; export declare const display: (displayContent: string) => Output; export declare const define: (config: { readonly handler: (input: Input) => Effect.Effect; }) => HookDefinition; export {}; //# sourceMappingURL=MessageDisplay.d.ts.map