import React from 'react';
import type { Button, ResourceWithMetadata, MultiModalResponse, ParsedOptions } from '@kui-shell/core';
import LocationProps from './Location';
type Props = LocationProps & {
    button: Button;
    response: MultiModalResponse;
    args: {
        argvNoOptions: string[];
        parsedOptions: ParsedOptions;
    };
};
export default class ToolbarButton<T extends ResourceWithMetadata = ResourceWithMetadata> extends React.PureComponent<Props> {
    private getCommand;
    private buttonOnclick;
    /** @return text of tooltip */
    private get tooltipText();
    /** @return label of the button */
    private get buttonLabel();
    /** @return whether we need a tooltip wrapper */
    private needsTooltip;
    private readonly _buttonOnclick;
    /** @return a react component for the button */
    private content;
    render(): JSX.Element;
}
export {};
