import { LitElement, PropertyValues } from 'lit';
import { FileProviderType } from '../types/files.types';
import { ShadowPartsController } from '../controllers/shadow-parts-controller';
import { iconNamesType } from '../utils/icons';
declare global {
    interface HTMLElementTagNameMap {
        "wy-preview-icon": WyPreviewIcon;
    }
}
/**
 * Fallback preview display used when no inline preview is available.
 * Displays an icon and an optional link to open the source.
 *
 * **Used sub components:**
 *
 * - [`<wy-icon-display>`](./ui/wy-icon.ts)
 * - [`<wy-icon>`](./ui/wy-icon.ts)
 * - [`<wy-button>`](./ui/wy-button.ts)
 *
 * @fires {FilePreviewLoadedEventType} file-preview-loaded - The file preview is considered loaded.
 */
export declare class WyPreviewIcon extends LitElement {
    static styles: import('lit').CSSResult[];
    /** @internal */
    protected exportParts: ShadowPartsController;
    /**
     * Source URL used when opening the original content.
     */
    src: string;
    /**
     * Icon name representing the preview.
     */
    icon: iconNamesType;
    /**
     * File provider metadata that decorates the preview.
     */
    provider?: FileProviderType;
    /**
     * Dispatch `file-preview-loaded` when the fallback content is ready.
     *
     * @returns {boolean} True if the event was not canceled.
     */
    protected dispatchLoaded(): boolean;
    render(): import('../../node_modules/lit-html/node/lit-html.js').TemplateResult<1>;
    protected updated(changedProperties: PropertyValues): void;
}
//# sourceMappingURL=wy-preview-icon.d.ts.map