import * as React from 'react'; export interface SectionControlsPriorityProps { /** * Primary button should be one and of variant 'action' */ primaryButton?: React.ReactElement | null | false; /** * Secondary button should be one and of variant 'action' */ secondaryButton?: React.ReactElement | null | false; /** * Additional buttons or dropdowns of variant 'primary' */ buttons?: never; } export interface SectionControlsMoreButtonsProps { /** * Primary button should be one and of variant 'action' */ primaryButton: React.ReactElement | null | false; /** * Secondary button should be one and of variant 'action' */ secondaryButton: React.ReactElement | null | false; /** * Additional buttons or dropdowns of variant 'primary' */ buttons?: React.ReactNode; } export interface SectionControlsOwnProps { help?: React.ReactNode; } export type SectionControlsProps = (SectionControlsPriorityProps | SectionControlsMoreButtonsProps) & SectionControlsOwnProps; export declare const SectionControls: React.FC;