import React, { Component } from 'react'; export interface FormListProps { form: any; name: string; initialValues?: any[]; children: (fields: any, operation: any) => React.ReactNode; } export interface FormListState { keys: number[]; id: number; initialValues: any[]; } declare class FormList extends Component { static defaultProps: { className: string; prefixCls: string; initialValues: any[]; }; constructor(props: any); init: () => { keys: any[]; id: number; initialValues: any[]; }; setKeys: (keys: any, callback?: () => void) => void; setId: (id: any, callback?: () => void) => void; setInitialValues: (initialValues: any, callback?: () => void) => void; get currValue(): any; setFormValue: (value: any) => void; add: (defaultValue?: any, index?: number) => void; remove: (index: number) => void; move: (from: number, to: number) => void; get fields(): { name: string; key: number; initialValue: any; }[]; render(): React.ReactNode; } export default FormList;