import React from 'react'; export interface StyledButtonProps { children: React.ReactNode; border?: boolean; raised?: boolean; color?: string; } export interface Props { children: React.ReactNode; disabled?: boolean; border?: boolean; raised?: boolean; color?: string; onClick?: (event: React.MouseEvent) => void; onMouseDown?: (event: React.MouseEvent) => void; onMouseUp?: (event: React.MouseEvent) => void; innerRef?: (instance: HTMLButtonElement) => void | React.RefObject; ref?: (instance: any) => void; autoWidth?: boolean; style?: React.CSSProperties; className?: string; type?: string; comp?: any; } declare const Button: { new (props: Readonly): { rippleElement?: import("@sinoui/ripple/build").RippleElement; componentDidMount(): void; componentDidUpdate(prevProps: Props): void; componentWillUnmount(): void; createRippleElement(): void; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void; forceUpdate(callBack?: () => void): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }; new (props: Props, context?: any): { rippleElement?: import("@sinoui/ripple/build").RippleElement; componentDidMount(): void; componentDidUpdate(prevProps: Props): void; componentWillUnmount(): void; createRippleElement(): void; render(): JSX.Element; context: any; setState(state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void; forceUpdate(callBack?: () => void): void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly<{}>; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{}>): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{}>, nextContext: any): void; }; displayName: string; sinouiName: any; contextType?: React.Context; }; export default Button;