import * as React from 'react'; import { ViewStyle } from 'react-native'; export interface IMDSwitchProps { styles?: IMDSwitchStyle; checked?: boolean; disabled?: boolean; onChange?: (param: boolean) => void; width?: number; height?: number; } export interface IMDSwitchState { checked: boolean; } interface IMDSwitchStyle { container?: ViewStyle; thumb?: ViewStyle; active?: ViewStyle; thumbActive?: ViewStyle; disabled?: ViewStyle; } export declare const MDSwitchStyles: IMDSwitchStyle; export default class MDSwitch extends React.Component { static defaultProps: { checked: boolean; disabled: boolean; styles: IMDSwitchStyle; }; constructor(props: IMDSwitchProps); componentWillReceiveProps(nextProps: IMDSwitchProps): void; render(): JSX.Element; private onSwitchPressed; } export {};