WaterfallStep type
Сигнатура функции отдельного каскадного шага.
type WaterfallStep<O extends object = {}> = (step: WaterfallStepContext<O>) => Promise<DialogTurnResult>;
type WaterfallStep<O> = (
step: WaterfallStepContext<O>
) => Promise<DialogTurnResult>