1import { ImageSource } from '../Image.types'; 2/** 3 * Converts a string in blurhash format (`blurhash:/<hash>/<width>/<height>` 4 * or <hash>/<width>/<height>) into an `ImageSource`. 5 * Note: The blurhash:/ uri scheme is removed, because for backward compatibility reasons, 6 * strings without a scheme are assumed to be `blurhash` by default. 7 * 8 * @return An ImageSource representing the provided blurhash. 9 * */ 10export declare function resolveBlurhashString(str: string): ImageSource; 11/** 12 * Converts a string in thumbhash format (`thumbhash:/<hash>` or `<hash>`) 13 * into an `ImageSource`. 14 * Note: Unlike the `resolveBlurhashString` the `thumbhash:/` scheme has to be present, 15 * as the scheme has to be explicitly stated to be interpreted a `thumbhash` source. 16 * 17 * @return An ImageSource representing the provided thumbhash. 18 * */ 19export declare function resolveThumbhashString(str: string): ImageSource; 20//# sourceMappingURL=resolveHashString.web.d.ts.map