@playcanvas/splat-transform
Version:
Library and CLI tool for 3D Gaussian splat format conversion and transformation
16 lines (15 loc) • 632 B
TypeScript
import { type FileSystem, type ProgressCallback, type ReadFileSystem, type ReadSource, type Writer } from '../lib';
/**
* ReadFileSystem for reading from the local filesystem using Node.js fs module.
*/
declare class NodeReadFileSystem implements ReadFileSystem {
createSource(filename: string, progress?: ProgressCallback): Promise<ReadSource>;
}
/**
* FileSystem for writing to the local filesystem using Node.js fs module.
*/
declare class NodeFileSystem implements FileSystem {
createWriter(filename: string): Promise<Writer>;
mkdir(path: string): Promise<void>;
}
export { NodeReadFileSystem, NodeFileSystem };