import { ComponentInterface, PickOption, Record } from '../../type'; import React from 'react'; import './index.less'; declare type Value = { url: string; name: string; }[]; declare class BasicPicturePro implements ComponentInterface { name: string; id: string; sortField: string; type: string; rules: any[]; componentConfig: ComponentInterface['componentConfig']; isCombinationComponent: boolean; formField: string; canSort: boolean; children: ComponentInterface[]; dataType: ComponentInterface['dataType']; currenEnv: ComponentInterface['platform']; sortChildField: { name: string; key: string; dataType: string; [key: string]: any; }[]; exampleValue?: string; standardDateType: ComponentInterface['standardDateType']; constructor(options: PickOption); formatPictures: (pictures: string) => string[]; getSortChildFields: () => any; render: (value: Value) => React.JSX.Element | null; renderPc: () => null; renderLog: (r: Record) => React.JSX.Element | null; getComponentValue: (r: Record) => any; renderClient: (record: any) => React.JSX.Element | null; editRender: (p: any) => React.JSX.Element; /** * * @returns 图片类型的导出需要在导出时单独处理 */ renderExport: () => null; /** * * @returns 图片不支持过滤 */ filterConfig: () => never[]; } export default BasicPicturePro;