import type { FlowVersion, DataApiVersion, FlowJSONSchema } from './types'; import { Screen } from './Screen'; export declare class FlowJSON { private readonly _version; private _dataApiVersion?; private _routingModel?; private readonly _screens; constructor(version?: FlowVersion); get version(): FlowVersion; get screens(): readonly Screen[]; setDataApiVersion(version: DataApiVersion): this; setRoutingModel(model: Record): this; addScreen(screen: Screen): this; addScreens(...screens: Screen[]): this; toJSON(): FlowJSONSchema; toString(indent?: number): string; saveToFile(filePath: string, indent?: number): void; static fromJSON(json: FlowJSONSchema | string): FlowJSON; static fromFile(filePath: string): FlowJSON; }