export type PptxSize = {
  width: number
  height: number
}

export type PptxFill = {
  type?: string
  value?: any
}

export type PptxElement = {
  type?: string
  left?: number
  top?: number
  width?: number
  height?: number
  rotate?: number
  order?: number
  opacity?: number
  isFlipH?: boolean
  isFlipV?: boolean
  vAlign?: "up" | "mid" | "down" | string
  content?: string
  fill?: PptxFill | string
  path?: string
  borderColor?: string
  borderWidth?: number
  borderStrokeDasharray?: string
  __source?: "layout" | "slide"
  [key: string]: any
}

export type PptxSlide = {
  fill?: PptxFill
  elements?: PptxElement[]
  layoutElements?: PptxElement[]
  [key: string]: any
}

export type PptxJson = {
  size?: PptxSize
  slides?: PptxSlide[]
  [key: string]: any
}

