import type { LinkedBundle } from '@devvit/protos/types/devvit/runtime/bundle.js';
import { type Empty } from '@devvit/protos/types/google/protobuf/empty.js';
import { LitElement, type CSSResultGroup, type PropertyValues, type TemplateResult } from 'lit';
import type { ColorScheme } from '../types/color-scheme.js';
import '@devvit/previews/dist/devvit-preview.js';
declare global {
    interface HTMLElementEventMap {
        'clear-errors': CustomEvent<undefined>;
    }
    interface HTMLElementTagNameMap {
        'play-preview': PlayPreview;
    }
}
/** The rendered output of Devvit program under various parameters. */
export declare class PlayPreview extends LitElement {
    #private;
    static readonly styles: CSSResultGroup;
    bundle: Readonly<LinkedBundle> | undefined;
    previewWidth?: number;
    remoteRuntimeOrigin: string;
    runtimeDebugLogging: boolean;
    sandboxApp: boolean;
    scheme?: ColorScheme;
    uploaded: Promise<Empty> | undefined;
    useExperimentalBlocks: boolean;
    useLocalRuntime: boolean;
    useRemoteRuntime: boolean;
    useSpeculativeExecution: boolean;
    useUIRequest: boolean;
    private _err;
    protected render(): TemplateResult;
    protected willUpdate(props: PropertyValues<this>): void;
}
