import * as React from "react";
import { Box } from "../boxes/Box";
import { PiEditor } from "../PiEditor";
export declare type SelectableComponentProps = {
    box: Box;
    editor: PiEditor;
};
export declare class SelectableComponent extends React.Component<SelectableComponentProps, {}> {
    private element;
    private setElement;
    constructor(props: SelectableComponentProps);
    componentDidMount(): Promise<void>;
    componentDidUpdate(): Promise<void>;
    render(): JSX.Element;
    onKeyDown: (e: React.KeyboardEvent<any>) => Promise<void>;
    private onClick;
    private updateViewStateAfterRender;
}
//# sourceMappingURL=SelectableComponent.d.ts.map