import React, { Component } from 'react'; import './style/index.less'; interface CodeBoxProps { length: number; type?: string; danger?: boolean; loading?: boolean; validator?: (value: string, index: number) => boolean; onChange?: (value: string[]) => void; className?: string; style?: React.CSSProperties; } export default class extends Component { constructor(props: any); onChange(e: any, i: any): void; getPrevBox(i: any): any; getNextBox(i: any): any; focusOn(i: any): void; onKeyDown(e: any, i: any): void; componentDidCatch(error: any, info: any): void; componentDidMount(): void; componentWillReceiveProps(nextProps: Readonly<{}>, nextContext: any): void; render(): JSX.Element; } export {};