import { ImageContentType } from "."; /** * Unrecognized Key Info */ export declare type UnrecognizedKeyInfo = { type: "unrecognized"; key: string; }; /** * File Key Info */ export declare type ImageFileKeyInfo = { type: "image"; key: string; contentType: ImageContentType; width: number; height: number; }; export declare type GenericFileKeyInfo = { type: "generic"; key: string; }; export declare type FileKeyInfo = ImageFileKeyInfo | GenericFileKeyInfo; /** * File Query Info */ export declare type ImageQueryKeyInfo = { type: "image-query"; contentType: ImageContentType; key: string; width: number; height: number; originalImageInfo: ImageFileKeyInfo; }; export declare type UnrecognizedQueryKeyInfo = { type: "unrecognized-query"; key: string; }; export declare type QueryKeyInfo = ImageQueryKeyInfo | UnrecognizedQueryKeyInfo; export declare type KeyInfo = UnrecognizedKeyInfo | FileKeyInfo | QueryKeyInfo; export declare type KeyType = KeyInfo["type"];