import React from 'react';
import { Button, ResourceWithMetadata, MultiModalResponse, ParsedOptions } from '@kui-shell/core';
import LocationProps from './Location';
declare 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;
    private readonly _buttonOnclick;
    render(): JSX.Element;
}
export {};
