export namespace ButtonType { const primary: string; const warning: string; const success: string; const disabled: string; const danger: string; const secondary: string; const outline: string; const dashed: string; const indifferent: string; } export namespace ButtonSize { const small: string; const medium: string; const large: string; const iconOnly: string; } declare class Button extends React.Component { constructor(props: any); clickable: boolean; clickableTimeout: any; countdownTimmer: any; state: { countdownCounter: number; second: any; dimensions: {}; }; componentDidMount(): void; subscription: import("react-native").EmitterSubscription | undefined; startTimmer: (second: any, callback: any) => void; clearTimmer: (clear: boolean | undefined, callback: any) => void; componentWillUnmount(): void; mapButtonSize: (size: any) => { mapSize: {}; title: {}; icon: {}; }; mapStyleFromType: (type: any, size: any, primaryColor: any) => { button: {}; title: {}; icon: {}; size: {}; }; pressDisabled: (type: any) => boolean; onPress: () => void; render(): JSX.Element; } declare namespace Button { namespace propTypes { const buttonStyle: PropTypes.Requireable; const iconStyle: PropTypes.Requireable; const titleStyle: PropTypes.Requireable; const icon: PropTypes.Requireable any) | PropTypes.InferProps<{ uri: PropTypes.Requireable; }> | null | undefined>>; const onPress: PropTypes.Requireable<(...args: any[]) => any>; const rightIcon: PropTypes.Requireable any) | PropTypes.InferProps<{ uri: PropTypes.Requireable; }> | null | undefined>>; const size: PropTypes.Requireable; const style: PropTypes.Requireable; const title: PropTypes.Requireable; const type: PropTypes.Requireable; const onCountdownEnd: PropTypes.Requireable<(...args: any[]) => any>; const countdown: PropTypes.Requireable; const delay: PropTypes.Requireable; const signlePress: PropTypes.Requireable; } const defaultProps: {}; } export default Button; import React from "react"; import PropTypes from "prop-types"; //# sourceMappingURL=Button.web.d.ts.map