/** * WorkflowVariable Model * * Pure data model for workflow variables (thresholds, config values). */ import type { SystemVariable as SystemVariableSchema, WorkflowVariable as WorkflowVariableSchema } from "@artu-ai/shared"; import { WorkflowVariableScope } from "@artu-ai/shared"; import { BaseModel } from "./base"; export type WorkflowVariableData = WorkflowVariableSchema; export type SystemVariableData = SystemVariableSchema; export declare class WorkflowVariable extends BaseModel { get id(): string; get organizationId(): string; get environment(): "test" | "live"; get name(): string; get value(): unknown; get description(): string | undefined; get scope(): WorkflowVariableScope; get metadata(): Record | undefined; get effectiveDate(): string; get isSystem(): boolean; get isOrganization(): boolean; get createdAt(): Date; get updatedAt(): Date; toString(): string; } export declare class SystemVariable extends BaseModel { get name(): string; get value(): unknown; get description(): string; get scope(): "system"; get effectiveDate(): string; toString(): string; } export declare function isWorkflowVariable(value: unknown): value is WorkflowVariable;