1- // Generated by dts-bundle-generator v8.1.2
1+ // Generated by dts-bundle-generator v9.5.1
22
33export type jsPDFConstructor = any ;
44export type jsPDFDocument = any ;
@@ -41,10 +41,15 @@ declare class DocHandler {
4141 getLineHeight ( fontSize : number ) : number ;
4242 pageNumber ( ) : number ;
4343}
44+ export type MarginPadding = {
45+ top : number ;
46+ right : number ;
47+ bottom : number ;
48+ left : number ;
49+ } ;
4450declare class HookData {
4551 table : Table ;
4652 pageNumber : number ;
47- pageCount : number ;
4853 settings : Settings ;
4954 doc : jsPDFDocument ;
5055 cursor : Pos | null ;
@@ -57,12 +62,6 @@ export declare class CellHookData extends HookData {
5762 section : "head" | "body" | "foot" ;
5863 constructor ( doc : DocHandler , table : Table , cell : Cell , row : Row , column : Column , cursor : Pos | null ) ;
5964}
60- export type MarginPadding = {
61- top : number ;
62- right : number ;
63- bottom : number ;
64- left : number ;
65- } ;
6665export interface ContentInput {
6766 body : RowInput [ ] ;
6867 head : RowInput [ ] ;
@@ -134,7 +133,6 @@ export declare class Table {
134133 pageNumber : number ;
135134 finalY ?: number ;
136135 startPageNumber ?: number ;
137- pageCount : number ;
138136 constructor ( input : TableInput , content : ContentSettings ) ;
139137 getHeadHeight ( columns : Column [ ] ) : number ;
140138 getFootHeight ( columns : Column [ ] ) : number ;
@@ -284,10 +282,8 @@ export interface UserOptions {
284282}
285283export type ColumnInput = string | number | {
286284 header ?: CellInput ;
287- title ?: CellInput ;
288285 footer ?: CellInput ;
289286 dataKey ?: string | number ;
290- key ?: string | number ;
291287} ;
292288export type Color = [
293289 number ,
@@ -307,7 +303,6 @@ export interface CellDef {
307303 colSpan ?: number ;
308304 styles ?: Partial < Styles > ;
309305 content ?: string | string [ ] | number ;
310- title ?: string ;
311306 _element ?: HTMLTableCellElement ;
312307}
313308declare class HtmlRowInput extends Array < CellDef > {
@@ -318,11 +313,11 @@ export type CellInput = null | string | string[] | number | boolean | CellDef;
318313export type RowInput = {
319314 [ key : string ] : CellInput ;
320315} | HtmlRowInput | CellInput [ ] ;
321- export type autoTable = ( options : UserOptions ) => void ;
316+ export type autoTableInstanceType = ( options : UserOptions ) => void ;
322317export declare function applyPlugin ( jsPDF : jsPDFConstructor ) : void ;
323- declare function autoTable ( d : jsPDFDocument , options : UserOptions ) : void ;
324- declare function __createTable ( d : jsPDFDocument , options : UserOptions ) : Table ;
325- declare function __drawTable ( d : jsPDFDocument , table : Table ) : void ;
318+ export declare function autoTable ( d : jsPDFDocument , options : UserOptions ) : void ;
319+ export declare function __createTable ( d : jsPDFDocument , options : UserOptions ) : Table ;
320+ export declare function __drawTable ( d : jsPDFDocument , table : Table ) : void ;
326321
327322export {
328323 autoTable as default ,
0 commit comments