pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
30 lines (29 loc) • 681 B
TypeScript
export class Autolinker {
static #index: number;
static #regex: any;
static #numericTLDRegex: any;
static findLinks(text: any): {
url: string;
index: any;
length: any;
}[];
static processLinks(pdfPageView: any): ({
borderStyle: null;
rect: any;
quadPoints?: undefined;
id: string;
unsafeUrl: any;
url: any;
annotationType: number;
rotation: number;
} | {
borderStyle: null;
quadPoints: any[];
rect: number[];
id: string;
unsafeUrl: any;
url: any;
annotationType: number;
rotation: number;
})[];
}