export type PdfTopicItem = {
  id: string | number;
  content: string;
  sortOrder?: number | null;
};

export type PdfTopic = {
  id?: string | number;
  topicType: string;
  sortOrder?: number | null;
  items?: PdfTopicItem[];
};

export type PdfTopicEngineOptions = {
  targetPageIndex?: number;
  pageStartY?: number;
  pageBottomY?: number;
  topicSpacing?: number;
  keepTogetherNames?: string[];
  topicTemplateName?: string;
  topicDataTemplateName?: string;
  rowHeight?: number;
  keepTogetherMinSpace?: number;
};
