import * as React from 'react'; declare type Props = { primary?: boolean; danger?: boolean; disabled?: boolean; flat?: boolean; type?: 'button' | 'submit'; onClick?: () => void; children: React.ReactNode; }; declare function Button(props: Props): JSX.Element; declare namespace Button { var defaultProps: { type: string; }; var displayName: string; } export default Button;