import { DatapointState, Device, DeviceStatus, EngineControlResponse } from "jm-castle-ac-dc-types"; import { Simulation } from "../Types.mjs"; export interface SimulationValue { at: string; valueNum?: number; valueString?: string; } export declare type ValueCourse = "steps" | "linear"; export interface SimulationFile { timeline: { datapointId: string; per: "day"; values: SimulationValue[]; course: ValueCourse; }; } export declare class SimulationByFile implements Simulation { constructor(device: Device); private device; private datapointId; private simulationFile; private sortedValues; private valueCourse; private lastStatus; start: () => Promise; stop: () => Promise; private getValueForLinearCourse; private getValueAt; fetchStatus: (at?: number) => Promise; getPreviewData: (atArr: number[]) => Promise<{ data: Record; error?: string; }>; }