import React from 'react';
import type { Theme } from '../../lib/theming/Theme';
export interface VariableValueProps {
    onChange: (variable: keyof Theme, value: string) => void;
    value: string;
    isError: boolean;
    variable: string;
    theme: Theme;
    baseVariables: Array<keyof Theme>;
    deprecated?: boolean;
}
export interface VariableValueState {
    value: string;
    editing: boolean;
}
type DefaultProps = Required<Pick<VariableValueProps, 'deprecated'>>;
export declare class VariableValue extends React.Component<VariableValueProps, VariableValueState> {
    static defaultProps: DefaultProps;
    private getProps;
    state: VariableValueState;
    private subscription;
    private rootElement;
    private readonly debounceTimeout;
    private debounceInterval;
    render(): React.JSX.Element;
    componentDidMount(): void;
    componentDidUpdate(prevProps: VariableValueProps): void;
    componentWillUnmount(): void;
    private renderBaseVariableLink;
    private renderInputWrapper;
    private renderInput;
    private renderRollbackIcon;
    private rootRef;
    private colorIcon;
    private handleEditLinkClick;
    private rollbackToBaseVariable;
    private emitClickEvent;
    private handleChange;
    private debounceHandler;
    private handleBlur;
    private emitterEventHandler;
}
export {};
