/** Workspace-scoped identity of one retained Storage version, independent of its path. */ export interface TransloaditStorageReference { readonly workspace: string; readonly asset_id: string; readonly version_id: string; } /** Saved geometry for Storage receipts or customer-controlled HTTP/S3 Template inputs. */ export interface TransloaditImageSource extends Partial { readonly path: string; readonly width: number; readonly height: number; /** Original-byte MD5 from a verified receipt or compatible Storage HEAD ETag. */ readonly md5hash?: string; /** Optional base64 ThumbHash, generated from the original bytes by storage store. */ readonly thumbhash?: string; /** An original alpha channel disables persistent blur backgrounds, without a client load handler. */ readonly hasAlpha?: boolean; } /** Checks the canonical API2 ID spelling without adding a schema library to browser models. */ export declare function isStorageIdentifier(value: unknown): value is string; /** Require a complete pinned receipt before constructing any Storage delivery URL. */ export declare function getStorageImageReference(source: Partial, workspace?: string): TransloaditStorageReference; /** A path needs separate dimensions; a receipt owns its dimensions. */ export type TransloaditImageSourceProps = { src: string; width: number; height: number; } | { src: TransloaditImageSource; width?: never; height?: never; }; /** Copies and validates source geometry before attribute getters, suspension or signing. */ export declare function snapshotImageSource(props: { src: unknown; width?: unknown; height?: unknown; }): TransloaditImageSource; //# sourceMappingURL=imageSource.d.ts.map