import React from "react"; import type { UiConfigRendererBase } from 'uiconfig.js'; import { UiObjectConfig } from 'uiconfig.js'; import { ValOrFunc } from 'ts-browser-helpers'; import { THREE } from "../threejs"; export type BPComponentProps = { config: UiObjectConfig; level?: number; disabled?: ValOrFunc; }; export type BPComponentState = { hidden?: boolean; disabled?: boolean; readOnly?: boolean; baseWidth?: string; }; export interface UiConfigRendererBaseBp extends UiConfigRendererBase { THREE: THREE | undefined; } export declare const UiConfigRendererContext: React.Context; export type UiConfigRendererContextType = React.ContextType; export declare abstract class BPComponent = BPComponentProps> extends React.Component { static contextType: React.Context; context: UiConfigRendererContextType; protected constructor(props: TProps, context: UiConfigRendererContextType, state: TState); setStatePromise(state: TState): Promise; keyVersion: number; getUpdatedState(state: TState): TState; private _refreshing; refreshConfigState(state?: TState): Promise; componentDidMount(): void; componentWillUnmount(): void; }