import InputBase from '../ats-input-base'; import { Job } from './types'; declare type KeyValueList = Array<{ key: string; value: string; }>; interface ICvInputJobProps { jobList?: Job[]; value?: KeyValueList; searchJobList?: (value: any) => void; } interface ICvInputJobState { isLoading: boolean; visible: boolean; display: 'list' | 'tree'; value?: KeyValueList; } import './index.less'; export default class CvInputJob extends InputBase { static defaultProps: { value: any[]; }; state: ICvInputJobState; constructor(props: any); getKeyValueList(value?: any[]): { key: any; value: any; }[]; setDisplay(value: 'list' | 'tree'): Promise; setVisible(visible: any): void; addJob(jobs?: any[]): Promise; removeJob(ids?: any[]): Promise; setLoading(isLoading: any): void; onInputFocus: () => void; onInputChange: (value: any) => Promise; onValueChange: (value: any) => void; onClose: () => void; renderList(): JSX.Element; updatePanel: () => void; onJobCheck: (jobs: any, checked: any) => void; renderTree: () => JSX.Element; onListSelect: (index: any) => void; render(): JSX.Element; } export {};