import { EventEmitter, ComponentInterface } from '../../stencil-public-runtime';
/**
 * Utilities for displaying images; standard or background.
 *
 * @status deprecated
 * @version 1.0.0
 *
 * @slot - Main slot. Only relevant with `<nano-img background>`
 */
export declare class Img implements ComponentInterface {
    private io?;
    private _srcSet;
    host: HTMLNanoImgElement;
    loadSrc?: string;
    loadError?: () => void;
    hasLoaded: boolean;
    imgStates: string;
    _src: string;
    _srcChanged(): void;
    /** This attribute defines the alternative text describing the image.
     * Users will see this text displayed if the image URL is wrong, or if the image is not yet downloaded. */
    alt?: string;
    /** The image URL. This attribute is mandatory for the `<img>` element. */
    src: string;
    srcChanged(): void;
    /** Optional list string providing media sizes with corresponding image srcs.
     * i.e. show img-x at 300px wide. Format `srcSet="200w src/imgSmall.jpg, 500h src/imgMed.png"` */
    srcSet?: string;
    srcSetChanged(): void;
    /** Render image lazily, when it comes into the browser viewport **/
    lazy: boolean;
    lazyChanged(): void;
    /** Render the image as a background image **/
    background?: boolean;
    /** When the image is rendered as a background, and there is no preset dimensions of the component,
     * you can set how the component height will be set. Via image size or via the content **/
    autoHeight: 'content' | 'image';
    /** Emitted when the img src has been set */
    nanoImgWillLoad: EventEmitter<void>;
    /** Emitted when the image has finished loading */
    nanoImgDidLoad: EventEmitter<void>;
    /** Emitted when the img fails to load */
    nanoImgError: EventEmitter<void>;
    private addIO;
    private load;
    private onLoad;
    private onError;
    private onResize;
    private removeIO;
    connectedCallback(): void;
    componentDidLoad(): void;
    disconnectedCallback(): void;
    render(): any;
}
