import { type ITreeNode } from "@shapediver/viewer.shared.node-tree"; import { type IParameter } from "../../interfaces/dto/IParameter"; import { SessionEngineCore } from "../SessionEngineCore"; /** * Manager responsible for parameters. * * The manager is created by the SessionEngineCore and can be accessed * via the `parameterManager` property. */ export declare class ParameterManager { private readonly _logger; private readonly _parameterValues; private readonly _parameters; private readonly _sessionEngineCore; private _ignoreUnknownParams?; private _parameterHistory; private _parameterHistoryCall; private _parameterHistoryForward; constructor(sessionEngineCore: SessionEngineCore); get ignoreUnknownParams(): boolean | undefined; set ignoreUnknownParams(value: boolean | undefined); get parameterHistory(): { [key: string]: { value: unknown; valueString: string; }; }[]; get parameterHistoryCall(): boolean; set parameterHistoryForward(value: { [key: string]: { value: unknown; valueString: string; }; }[]); get parameterValues(): { [key: string]: string; }; get parameters(): { [key: string]: IParameter; }; /** * Checks whether it is possible to go back in the parameter history. * * @returns True if it is possible to go back, false otherwise. */ canGoBack(): boolean; /** * Checks whether it is possible to go forward in the parameter history. * * @returns True if it is possible to go forward, false otherwise. */ canGoForward(): boolean; /** * Creates parameters from the session engine's response DTO. * * @param initialParameters * @returns */ createParametersFromDto(initialParameters?: { [key: string]: string; }): void; /** * Goes one step back in the parameter history and applies the parameter values. * * @returns The tree node returned by the customization function. */ goBack(): Promise; /** * Goes one step forward in the parameter history and applies the parameter values. * * @returns The tree node returned by the customization function. */ goForward(): Promise; } //# sourceMappingURL=ParameterManager.d.ts.map