import type { LinkedBundle } from '@devvit/protos';
import type { VirtualTypeScriptEnvironment } from '@typescript/vfs';
import { LitElement } from 'lit';
import type { ColorScheme } from '../../types/color-scheme.js';
declare global {
    interface HTMLElementTagNameMap {
        'play-pen-context-provider': PlayPenContextProvider;
    }
}
/** play-pen context provider. */
export declare class PlayPenContextProvider extends LitElement {
    allowStorage: boolean;
    allowURL: boolean;
    bundle?: LinkedBundle | undefined;
    readonly env: VirtualTypeScriptEnvironment;
    name: string;
    scheme: ColorScheme | undefined;
    src: string | undefined;
    template: string | undefined;
    connectedCallback(): void;
    protected render(): import("lit-html").TemplateResult<1>;
    /** Save to LocalStorage as allowed. */
    autoSave(): void;
    /** Save to LocalStorage and URL as allowed. */
    save(): void;
    setName(name: string): void;
    setScheme(scheme: ColorScheme | undefined): void;
    setSrc(src: string): void;
    setTemplate(template: string): void;
}
