import { PromptFunctions, PromptMemory, Tokenizer } from "promptrix"; import { Validation } from "alphawave"; import { Schema } from "jsonschema"; import { Command, TaskContext } from "./types"; export interface CommandSchema extends Schema { type: "object"; title: string; description: string; returns?: string; } export declare abstract class SchemaBasedCommand> implements Command { private readonly _schema; private readonly _title?; private readonly _description?; constructor(schema: CommandSchema, title?: string, description?: string); get description(): string; get inputs(): string | undefined; get output(): string | undefined; get schema(): CommandSchema; get title(): string; abstract execute(context: TaskContext, input: TInput): Promise; validate(input: TInput, memory: PromptMemory, functions: PromptFunctions, tokenizer: Tokenizer): Promise>; cleanInput(input: TInput): TInput; } //# sourceMappingURL=SchemaBasedCommand.d.ts.map