import React from 'react'; import { IconName } from '@harnessio/icons'; export declare enum VisualYamlSelectedView { VISUAL = "VISUAL", YAML = "YAML" } export interface VisualYamlToggleProps { selectedView: VisualYamlSelectedView; onChange: (val: VisualYamlSelectedView) => void; disableToggle?: boolean; className?: string; labels?: { visual?: string; yaml?: string; }; disableToggleReasonIcon?: IconName; showDisableToggleReason?: boolean; disableToggleReasonContent?: React.ReactElement; } export declare function VisualYamlToggle(props: VisualYamlToggleProps): JSX.Element;