import { AbstractSkeletosState } from "../../extendible/AbstractSkeletosState"; import { SimpleSkeletosAction } from "../../extendible/SimpleSkeletosAction"; import { SkeletosDictionary } from "../states/SkeletosDictionary"; export interface ISimpleDictionaryReferenceSetterActionArg { dictionaryToSet: SkeletosDictionary; id: string; objectToRef: T; } /** * This action is used for conveniently setting a reference in a skeletos dictionary. The concept is similar to that of * the SimpleStateSetterAction. In this action's case, we accept * 1) dictionaryToSet - The dictionary that the reference will be created in * 2) id - The id (key value) that the reference will be created under * 3) objectToRef - The object that will be referenced * * Example Usage: * new SimpleDictionaryReferenceSetterAction( * { * dictionaryToSet: this.skeletosState.selectedStaffMembersDictionary, * id: "" + staffMemberState.id, * objectToRef: staffMemberState * } * ) * * Additionally, you can use this action to make multiple separate references. */ export declare class SimpleDictionaryReferenceSetterAction extends SimpleSkeletosAction { private _args; constructor(...args: Array>); protected doExecute(): void; }