import { Element } from "../forms/FormDefinition";
/**
 * The props of a custom form element.
 * @deprecated Use `FormElementRegistration` instead.
 */
export interface CustomFormElementProps {
    /** The form element. */
    element: Element;
    /** The name of the form element. */
    name: string;
    /**
     * A callback function to raise an event.
     * The "changed" and "clicked" events expect the value of the form element as the eventValue.
     * The "custom" event accepts any value as the eventValue.
     * Use the Get Form Event Data to access the event data in a subworkflow of the Display Form activity.
     */
    raiseEvent: (eventName: "changed" | "clicked" | "custom", eventValue: any) => void;
}
/**
 * A base activity implementation that provides a convenient way to register
 * custom form elements to be used in Display Form activities.
 * @deprecated Use `FormElementRegistration` instead.
 */
export declare function RegisterCustomFormElementBase(): void;
