import { LitElement } from 'lit';
import { ShadowPartsController } from '../controllers/shadow-parts-controller';
declare global {
    interface HTMLElementTagNameMap {
        "wy-preview-image": WyPreviewImage;
    }
}
/**
 * Image preview component used inside file preview overlays.
 *
 * **Used sub components:**
 *
 * - [`<wy-container>`](./ui/wy-container.ts)
 * - [`<wy-progress-circular>`](./ui/wy-progress-circular.ts)
 *
 * @csspart wy-content-image - Root image wrapper.
 * @csspart wy-intrinsic-image - Modifier when dimensions are not provided.
 * @csspart wy-content-image-img - The <img> element for the preview.
 * @csspart wy-content-progress - Progress indicator shown while the image loads.
 *
 * @fires {FilePreviewLoadedEventType} file-preview-loaded - The file preview is considered loaded.
 */
export declare class WyPreviewImage extends LitElement {
    static styles: import('lit').CSSResult[];
    /** @internal */
    protected exportParts: ShadowPartsController;
    /**
     * Source URL of the image to preview.
     */
    src: string;
    /**
     * Intrinsic width of the preview image in pixels.
     */
    width?: number;
    /**
     * Intrinsic height of the preview image in pixels.
     */
    height?: number;
    /**
     * Dispatches the `file-preview-loaded` event once the image has loaded.
     *
     * @internal
     */
    protected dispatchLoaded(): boolean;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
}
//# sourceMappingURL=wy-preview-image.d.ts.map