import type { Data } from '@devvit/public-api';
import type { PropertyValues } from 'lit';
import { LitElement } from 'lit';
declare global {
    interface HTMLElementTagNameMap {
        'devvit-blocks-webview': DevvitBlocksWebView;
    }
    interface HTMLElementEventMap {
        message: CustomEvent<Data>;
    }
}
/**
 * Wraps an iframe to capture messages sent from within to be handled by the app rendering the Blocks
 */
export declare class DevvitBlocksWebView extends LitElement {
    #private;
    src: string | undefined;
    state: unknown | undefined;
    originDiffers: boolean;
    static get styles(): import("lit").CSSResult[];
    connectedCallback(): void;
    disconnectedCallback(): void;
    protected willUpdate(changedProperties: PropertyValues<this>): void;
    render(): import("lit-html").TemplateResult<1>;
}
//# sourceMappingURL=devvit-blocks-webview.d.ts.map