import type { DisplayFormOutputs } from "./DisplayForm"; import type { IActivityHandler, EmptyOutputs } from "../../IActivityHandler"; import type * as defs from "../../forms/FormDefinition"; export interface SetFormElementErrorInputs { form: DisplayFormOutputs; /** The ID of the form element to apply the error to. */ elementName?: string | defs.Element; error: string; markdown?: boolean; } export declare class SetFormElementError implements IActivityHandler { static readonly action = "gcx:wf:forms::SetFormElementError"; static readonly suite = "gcx:wf:builtin"; execute(inputs: SetFormElementErrorInputs): EmptyOutputs; }