UNPKG

pdfjs-dist

Version:

Generic build of Mozilla's PDF.js library.

28 lines (27 loc) 760 B
export type IL10n = import("./interfaces").IL10n; /** @typedef {import("./interfaces").IL10n} IL10n */ /** * @implements {IL10n} */ export class L10n implements IL10n { static "__#46@#fixupLangCode"(langCode: any): any; static "__#46@#isRTL"(lang: any): boolean; constructor({ lang, isRTL }: { lang: any; isRTL: any; }, l10n?: null); _setL10n(l10n: any): void; /** @inheritdoc */ getLanguage(): any; /** @inheritdoc */ getDirection(): string; /** @inheritdoc */ get(ids: any, args: null | undefined, fallback: any): Promise<any>; /** @inheritdoc */ translate(element: any): Promise<void>; /** @inheritdoc */ pause(): void; /** @inheritdoc */ resume(): void; #private; }