import React from 'react'; import { SwitchProps } from './interface'; interface SwitchState { } interface SwitchLayoutProps { } interface SwitchAdapter { } declare const Switch_base: { new (props: any): { viewAdapter: { component: React.ComponentClass; }; logicalAdapter: SwitchAdapter; readonly RenderComponent: React.ComponentClass; readonly defaultViewAdapter: { component: any; }; readonly adapter: SwitchAdapter; context: any; setState(state: SwitchState | ((prevState: Readonly, props: Readonly) => SwitchState | Pick) | Pick, callback?: () => void): void; forceUpdate(callback?: () => void): void; render(): React.ReactNode; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; 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; }; readonly clsPrefix: "dzq"; readonly defaultLogicalAdapter: {}; contextType?: React.Context; }; export default class Switch extends Switch_base { static defaultProps: { defaultChecked: boolean; disabled: boolean; loading: boolean; size: number; style: {}; onChange: () => void; }; render(): JSX.Element; } export {};