import { meta } from '../../types/UserReports.js';

import Dict = NodeJS.Dict


interface RenderTableListResponse {
  head: {
    emptyMessage?: string
    href?: string
  }
  tableData: {
    rows: Dict<string>[][]
    head: Dict<string>[]
  }
  total: {
    amount: number
    shown: number
    max: number
  }
  meta?: meta[]
  csrfToken?: string
  maxRows?: number
}

export type { RenderTableListResponse };
