export default class UnitShorthandField extends React.Component<any, any, any> {
    static propTypes: {
        uiSchema: PropTypes.Requireable<PropTypes.InferProps<{
            "ui:options": PropTypes.Validator<NonNullable<PropTypes.InferProps<{
                shorthandField: PropTypes.Requireable<string>;
                formID: PropTypes.Requireable<string>;
                showSchema: PropTypes.Requireable<boolean>;
                persistenceKey: PropTypes.Requireable<string>;
            }>>>;
            uiSchema: PropTypes.Requireable<object>;
        }>>;
        schema: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
            type: PropTypes.Requireable<string>;
        }>>>;
        formData: PropTypes.Validator<object>;
    };
    constructor(props: any);
    state: any;
    getStateFromProps: (props: any) => {
        showSchema: any;
    };
    UNSAFE_componentWillReceiveProps: (props: any) => void;
    componentDidUpdate(): void;
    onNextTick: (() => void) | undefined;
    shouldShowSchema: (props: any) => any;
    onToggleButtonClick: () => () => void;
    getToggleButton: () => {
        glyph: string;
        fn: () => () => void;
        tooltip: any;
        tooltipPlacement: string;
        active: boolean;
    };
    onCodeChange: (formData?: {}) => void;
    render(): JSX.Element;
}
import * as React from "react";
import * as PropTypes from "prop-types";
