UNPKG

@julesl23/s5js

Version:

Enhanced TypeScript SDK for S5 decentralized storage with path-based API, media processing, and directory utilities

38 lines 951 B
/** * Test helper utilities for loading real image fixtures */ /** * Load a test image as a Buffer */ export declare function loadTestImageBuffer(filename: string): Buffer; /** * Load a test image as a Blob */ export declare function loadTestImageBlob(filename: string): Blob; /** * Load a test image as Uint8Array */ export declare function loadTestImageUint8Array(filename: string): Uint8Array; /** * Load expected metadata for test images */ export declare function loadExpectedMetadata(): Promise<Record<string, any>>; /** * Get list of all test images */ export declare function getTestImages(): string[]; /** * Test image metadata interface */ export interface TestImageMetadata { width: number; height: number; format: string; hasAlpha: boolean; description: string; bitDepth?: number; colorType?: number; colorCount?: number; bitsPerPixel?: number; } //# sourceMappingURL=image-loader.d.ts.map