import { BinaryFile } from "itk-wasm"; import ReadTransformOptions from "./read-transform-options.js"; import ReadTransformResult from "./read-transform-result.js"; /** * Read a transform file format and convert it to the ITK-Wasm file format * * @param {webWorker} null | webWorker - Web worker to run the pipeline or null to run it in a new worker * @param {File | BinaryFile} serializedTransform - Input transform serialized in the file format * @param {ReadTransformOptions} options - options to cast the resulting transform type or to only read transform metadata * * @returns {Promise} - result object with the transform and the web worker used */ declare function readTransform(serializedTransform: File | BinaryFile, options?: ReadTransformOptions): Promise; export default readTransform;