import type { ILisaServices, ILisaContext, IMemoryService, IRecursionService, ILogger } from '../../domain'; import type { IRequestHandler } from '../mediator'; import { PromptSubmitRequest } from '../mediator/requests'; import type { IPromptSubmitResult } from '../mediator/requests'; /** * Handler for prompt submit events. * Records user prompts to memory and runs recursion in plan mode. * * Implements IRequestHandler for use with the Mediator pattern. */ export declare class PromptSubmitHandler implements IRequestHandler { private readonly context; private readonly memory; private readonly recursion?; private readonly logger?; /** * Create a new PromptSubmitHandler. * * @param services - Lisa services (legacy constructor for backward compatibility) */ constructor(services: ILisaServices); /** * Create a new PromptSubmitHandler with individual service injection. */ constructor(context: ILisaContext, memory: IMemoryService, recursion?: IRecursionService, logger?: ILogger); /** * Handle a prompt submit request. * - Adds the prompt to memory for context * - Runs memory recursion if in plan mode */ handle(request: PromptSubmitRequest): Promise; /** * Truncate a string to a maximum length. */ private truncate; } //# sourceMappingURL=PromptSubmitHandler.d.ts.map