export interface LibraryResult { type: string; name: string; version: string; url: string; } interface Options { versionTruncation: 0 | 1 | 2 | 3 | null; } export default class LibraryParser { private readonly options; constructor(options?: Partial); parse: (userAgent: string) => LibraryResult; } export {};