import type { ComponentType } from '../../jsx'; import type { ParsedInfographicOptions } from '../../options'; import type { ParsedData } from '../../types'; import { TitleProps } from '../components'; import type { BaseItemProps } from '../items'; export interface BaseStructureProps { Title?: ComponentType>; Item: ComponentType & Partial>>; Items: ComponentType>[]; data: ParsedData; options: ParsedInfographicOptions; } export interface Structure { component: ComponentType; composites: string[]; } export interface StructureOptions { [key: string]: any; }