type PageMargin = {
  top?: number | string;
  bottom?: number | string;
  left?: number | string;
  right?: number | string;
};

type PaperSize = "A4" | "A5" | [number, number] | [string, string];

export interface PDFExportProps {
  dataTestId?: string;
  children?: React.ReactNode;
  author?: string;
  avoidLinks?: string | boolean;
  creator?: string;
  date?: Date;
  fileName?: string;
  forcePageBreak?: string;
  forceProxy?: boolean;
  imageResolution?: number;
  keepTogether?: string;
  keywords?: string;
  landscape?: boolean;
  margin?: string | number | PageMargin;
  pageTemplate?: any;
  paperSize?: PaperSize;
  producer?: string;
  proxyData?: { [key: string]: string };
  proxyTarget?: string;
  proxyURL?: string;
  repeatHeaders?: boolean;
  scale?: number;
  subject?: string;
  title?: string;
}
