| 25 | } |
| 26 | |
| 27 | export interface PDFBuilder { |
| 28 | page(width: number, height: number, fn: (ctx: PageContext) => void): void |
| 29 | page(fn: (ctx: PageContext) => void): void |
| 30 | build(): Uint8Array |
| 31 | measureText: typeof measureText |
| 32 | } |
| 33 | |
| 34 | type PDFValue = null | boolean | number | string | PDFValue[] | Ref | { [key: string]: PDFValue | undefined } |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected