import '@reddit/faceplate-ui/templateRenderingStrategy/clientStrategy.js';
import '@devvit/ui-renderer/client/devvit-custom-post.js';
import '@devvit/ui-renderer/client/devvit-surface.js';
import '@devvit/ui-renderer/client/formbuilder/devvit-form-dialog.js';
import '@reddit/faceplate-ui/components/faceplate-toast.js';
import '@reddit/faceplate-ui/components/faceplate-toaster.js';
import '@reddit/faceplate/components/faceplate-alert-reporter.js';
import type { LinkedBundle, Metadata } from '@devvit/protos';
import type { Struct } from '@devvit/protos/types/google/protobuf/struct.js';
import type { UIApp } from '@devvit/ui-renderer/client/dispatcher/remote-app.js';
import { LitElement } from 'lit';
declare global {
    interface HTMLElementTagNameMap {
        'devvit-preview': DevvitPreview;
    }
}
/**
 * Blocks program preview.
 *
 * Assumes the loaded app is a CustomPost & UIEventHandler.
 *
 * @fires {unknown} devvit-ui-error
 * @fires {unknown} devvit-image-upload
 * @slot - Loading / unloaded state.
 */
export declare class DevvitPreview extends LitElement {
    #private;
    static readonly styles: import("lit").CSSResult;
    bundle?: LinkedBundle | undefined;
    localRuntimeCode?: Blob | undefined;
    metadata?: Metadata | undefined;
    postConfig?: Struct['fields'];
    postId?: string;
    remote?: UIApp | undefined;
    runtimeDebugLogging: boolean;
    /** Force color scheme. */
    scheme: 'dark' | 'light' | undefined;
    useExperimentalBlocks: boolean;
    useUIRequest: boolean;
    /** Enable the use of speculative execution from within UI request */
    useSpeculativeExecution: boolean;
    private _customPost;
    private _customPostSurface;
    constructor();
    protected render(): import("lit-html").TemplateResult<1>;
}
//# sourceMappingURL=devvit-preview.d.ts.map