UNPKG

pdfjs-dist

Version:

Generic build of Mozilla's PDF.js library.

31 lines (30 loc) 883 B
export type IL10n = import("./interfaces").IL10n; export const GenericL10n: null; /** @typedef {import("./interfaces").IL10n} IL10n */ /** * NOTE: The L10n-implementations should use lowercase language-codes * internally. * @implements {IL10n} */ export class L10n implements IL10n { static "__#57@#fixupLangCode"(langCode: any): any; static "__#57@#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; }