import { ComponentInterface, PickOption, Record } from '../../type'; import React from 'react'; declare type Value = string[] | undefined; declare class BasicPicture 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']; constructor(options: PickOption); formatPictures: (pictures: string) => string[]; render: (value: Value) => React.JSX.Element | null; renderPc: (value: any, record: Record) => React.JSX.Element; 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 BasicPicture;