import { AnyObject } from '../../../../shared/types'; import { Component } from 'vue'; import { FieldItem, FormRenderExpose } from '../../../../components/form-render'; export declare namespace InfoHeaderTypes { type InfoItem = Partial<{ slot: string | ((payload: { width: unknown; item: InfoItem; }) => any) | Component; tip: string; contentStyle: AnyObject; formField: Partial; edit: boolean; [K: string]: any; }>; type PatientTag = Partial<{ type?: 'warning' | 'info'; content: string; render?: any; color?: { color?: string; textColor?: string; }; }>; type PatientInfo = Partial<{ avatar: string; avatarPreview: string; avatarProps: string; avatarPreviewProps: string; name: string; nameProps: Partial; sex: string; sexProps: Partial; age: string; ageProps: Partial; ageUnit: string; ageUnitProps: Partial; tagList: PatientTag[]; }>; } export type InfoHeaderExpose = { update(): void; $formRender: FormRenderExpose | undefined; };