import { PipeTransform } from '@angular/core';
import { Observable } from 'rxjs';
import { Photo } from '../model/photo';
import * as i0 from "@angular/core";
export declare class BlurHashPipe implements PipeTransform {
    /**
     * [BlurHash placeholder](https://unsplash.com/documentation#blurhash-placeholders).
     *
     * Returns a URL of the BlurHash preview and then the URL of photo once the
     * photo been downloaded by the browser.
     *
     * @param photo to download
     * @param size to be returned, the default is thumb
     * @returns Observable of URL
     */
    transform(photo: Photo, size?: 'raw' | 'full' | 'regular' | 'small' | 'thumb'): Observable<string>;
    private getImageFromBlurHash;
    static ɵfac: i0.ɵɵFactoryDeclaration<BlurHashPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<BlurHashPipe, "blurhash", false>;
}
