/** * Parse data as text. * @param {String} content The content to parse. */ parseAsText(content: string): void; /** * * @paraminData * @paramoutData */ requestData(inData: any, outData: any): void;
/** * Set the url of the object to load. * @param {String} url the url of the object to load. * @param {IJSONReaderOptions} [option] The JSON reader options. */ setUrl(url: string, option?: IJSONReaderOptions): Promise<string>; }
/** * Method used to decorate a given object (publicAPI+model) with vtkJSONReader characteristics. * * @param publicAPI object on which methods will be bounds (public) * @param model object on which data structure will be bounds (protected) * @param {IJSONReaderInitialValues} [initialValues] (default: {}) */ exportfunctionextend( publicAPI: object, model: object, initialValues?: IJSONReaderInitialValues ): void;
/** * Method used to create a new instance of vtkJSONReader * @param {IJSONReaderInitialValues} [initialValues] for pre-setting some of its content */ exportfunctionnewInstance( initialValues?: IJSONReaderInitialValues ): vtkJSONReader;
/** * vtkJSONReader is a source object that reads JSON files. */ export declare constvtkJSONReader: { newInstance: typeof newInstance; extend: typeof extend; }; exportdefault vtkJSONReader;