import { IActivityHandler, IActivityContext } from "../../IActivityHandler";
import { Lookup } from "../../Collections";
import { Item } from "../../forms/FormDefinition";
export interface GetFormElementItemsFromCollectionInputs {
    /** The collection to be converted to the items collection. */
    collection: any[];
    /** The name of the field used to populate the items' labels. If not provided, the item itself will be used as the label. */
    labelFieldName?: string;
    /** The name of the field used to populate the items' values. If not provided, the item itself is used in a DataRef object. */
    valueFieldName?: string;
}
export interface GetFormElementItemsFromCollectionOutputs {
    /** The result items collection. */
    items: Lookup<Item>;
}
export declare class GetFormElementItemsFromCollection implements IActivityHandler {
    static action: string;
    static suite: string;
    /**
     * Checks if there is a field name that matches the supplied label.
     * @param label The label input to be checked.
     * @param collection The collection to inspect.
     */
    private _isLabelFieldName;
    private _getTokenValues;
    execute(inputs: GetFormElementItemsFromCollectionInputs, context: IActivityContext): GetFormElementItemsFromCollectionOutputs;
}
