import { VarDataType } from '../types'; export interface ActionOptions { [key: string]: string; } export declare enum ActionType { ACTION = "action", COMPUTE = "compute", SOURCE = "source", FILTER = "filter" } export declare enum ActionStatus { DRAFT = "draft", DEPRECATED = "deprecated", PUBLISHED = "published", ANNOUNCED = "announced" } export interface ActionAttribute { id: string; globalId?: string; name: string; datatype: VarDataType; required: boolean; value: string; label: string; description: string; validator?: { [key: string]: string | number | boolean; }; } export interface ActionMetadata { status: ActionStatus; icon: string; label: string; description: string; cost: number; time: number; } export interface ActionData { id: number; name: string; icon: string; label: string; description: string; status: ActionStatus; type: ActionType; cost: number; time: number; lAttributes: ActionAttribute[]; pAttributes: ActionAttribute[]; rAttributes: ActionAttribute[]; }