import { UnionOf } from "unionize"; export declare const ToolbarActions: import("unionize").Unionized<{ /** * Sets the Dashbar items to display on the toolbar * * @param {DashbarItem[]} items An array of dashbar items to add to the toolbar */ SET_DASHBAR_ITEMS: import("../types/dashbarTypes").DashbarItem[]; /** * Reorders Dashbar items on the toolbar * * @param {number} oldIndex The old index of the moved item * @param {number} newIndex The new index of the moved item */ REORDER_DASHBAR_ITEMS: { oldIndex: number; newIndex: number; }; /** * Does thing foo. */ TOOLBAR_ACTION1: { foo: string; }; /** * Does thing bar */ TOOLBAR_ACTION2: { bar: string; }; }, import("unionize").SingleValueVariants<{ /** * Sets the Dashbar items to display on the toolbar * * @param {DashbarItem[]} items An array of dashbar items to add to the toolbar */ SET_DASHBAR_ITEMS: import("../types/dashbarTypes").DashbarItem[]; /** * Reorders Dashbar items on the toolbar * * @param {number} oldIndex The old index of the moved item * @param {number} newIndex The new index of the moved item */ REORDER_DASHBAR_ITEMS: { oldIndex: number; newIndex: number; }; /** * Does thing foo. */ TOOLBAR_ACTION1: { foo: string; }; /** * Does thing bar */ TOOLBAR_ACTION2: { bar: string; }; }, "type", "payload">, "type">; export type ToolbarActionTypes = UnionOf; //# sourceMappingURL=toolbarActions.d.ts.map