///
import { ButtonProps } from '@patternfly/react-core/dist/esm/components/Button';
/** Allows customizing the code editor controls by passing this sub-component into the
* code editor's customControl property.
*/
export interface CodeEditorControlProps extends Omit {
/** Accessible label for the code editor control */
'aria-label'?: string;
/** Additional classes added to the code editor control. */
className?: string;
/** Icon rendered inside the code editor control. */
icon: React.ReactNode;
/** Event handler for the click of the button */
onClick: (code: string, event?: any) => void;
/** Flag indicating that the button is visible above the code editor. */
isVisible?: boolean;
/** Additional tooltip props forwarded to the Tooltip component */
tooltipProps?: any;
}
export declare const CodeEditorControl: React.FunctionComponent;
//# sourceMappingURL=CodeEditorControl.d.ts.map