import { IActivityHandler } from "../IActivityHandler";
import { IActivityHandlerFactory } from "./Engine";
import { Reference } from "../definition/Reference";
import { ProgramInspector } from "../definition/ProgramInspector";
import { FormElementRegistration } from "..";
import { Lookup } from "../Collections";
declare const formElementCache: Lookup<FormElementRegistration<any>>;
export declare function getCachedFormElements(): typeof formElementCache;
/** Implements a methodology for loading activity handlers using the module loader. */
export declare class ActivityLoader implements IActivityHandlerFactory {
    static defaultReference: Reference;
    /** The default references. */
    references: Reference[];
    /**
     * Creates an activity handler.
     * @param action
     * @param inspector
     */
    create(action: string, registerFormElement: (registration: FormElementRegistration) => void, inspector?: ProgramInspector): PromiseLike<IActivityHandler> | IActivityHandler;
}
export {};
