1
- // Generated by dts-bundle-generator v8.1.2
1
+ // Generated by dts-bundle-generator v9.5.1
2
2
3
3
export type jsPDFConstructor = any ;
4
4
export type jsPDFDocument = any ;
@@ -41,10 +41,15 @@ declare class DocHandler {
41
41
getLineHeight ( fontSize : number ) : number ;
42
42
pageNumber ( ) : number ;
43
43
}
44
+ export type MarginPadding = {
45
+ top : number ;
46
+ right : number ;
47
+ bottom : number ;
48
+ left : number ;
49
+ } ;
44
50
declare class HookData {
45
51
table : Table ;
46
52
pageNumber : number ;
47
- pageCount : number ;
48
53
settings : Settings ;
49
54
doc : jsPDFDocument ;
50
55
cursor : Pos | null ;
@@ -57,12 +62,6 @@ export declare class CellHookData extends HookData {
57
62
section : "head" | "body" | "foot" ;
58
63
constructor ( doc : DocHandler , table : Table , cell : Cell , row : Row , column : Column , cursor : Pos | null ) ;
59
64
}
60
- export type MarginPadding = {
61
- top : number ;
62
- right : number ;
63
- bottom : number ;
64
- left : number ;
65
- } ;
66
65
export interface ContentInput {
67
66
body : RowInput [ ] ;
68
67
head : RowInput [ ] ;
@@ -134,7 +133,6 @@ export declare class Table {
134
133
pageNumber : number ;
135
134
finalY ?: number ;
136
135
startPageNumber ?: number ;
137
- pageCount : number ;
138
136
constructor ( input : TableInput , content : ContentSettings ) ;
139
137
getHeadHeight ( columns : Column [ ] ) : number ;
140
138
getFootHeight ( columns : Column [ ] ) : number ;
@@ -284,10 +282,8 @@ export interface UserOptions {
284
282
}
285
283
export type ColumnInput = string | number | {
286
284
header ?: CellInput ;
287
- title ?: CellInput ;
288
285
footer ?: CellInput ;
289
286
dataKey ?: string | number ;
290
- key ?: string | number ;
291
287
} ;
292
288
export type Color = [
293
289
number ,
@@ -307,7 +303,6 @@ export interface CellDef {
307
303
colSpan ?: number ;
308
304
styles ?: Partial < Styles > ;
309
305
content ?: string | string [ ] | number ;
310
- title ?: string ;
311
306
_element ?: HTMLTableCellElement ;
312
307
}
313
308
declare class HtmlRowInput extends Array < CellDef > {
@@ -318,11 +313,11 @@ export type CellInput = null | string | string[] | number | boolean | CellDef;
318
313
export type RowInput = {
319
314
[ key : string ] : CellInput ;
320
315
} | HtmlRowInput | CellInput [ ] ;
321
- export type autoTable = ( options : UserOptions ) => void ;
316
+ export type autoTableInstanceType = ( options : UserOptions ) => void ;
322
317
export 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 ;
326
321
327
322
export {
328
323
autoTable as default ,
0 commit comments