/** * Where the byte rules read package files from. A bundle-relative POSIX path in, bytes out; `null` when the file is * absent. Two implementations: a package directory on disk (`helix scene validate`), and the in-memory build input that * `world scene-source publish` has already loaded and hashed (so the publish gate reads exactly the bytes it uploads). */ export interface ScenePerfSource { size(path: string): Promise; head(path: string, length: number): Promise; read(path: string): Promise; } export declare function directorySource(root: string): ScenePerfSource; export declare function memorySource(files: ReadonlyArray<{ path: string; bytes: Buffer | Uint8Array; }>): ScenePerfSource;