import React from 'react'; declare class LockScreen extends React.Component<{ defaultVisible?: boolean; visible?: boolean; duration: number; onVisibleChange?: (visible: boolean) => void; onUnLock?: (password: string | undefined) => void; }, { visible: boolean; password: string | undefined; }> { timer: any; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; shouldComponentUpdate(nextProps: any, nextState: any): boolean; static getDerivedStateFromProps(nextProps: any, prevState: any): { visible: any; } | null; handleMousemove: () => void; handleUnLock: () => void; render(): JSX.Element; } export default LockScreen;