@pdf-viewer/react
Version:
A react-pdf-viewer component for React and Next.js. Suitable for react-pdf document.
6 lines (5 loc) • 471 B
TypeScript
import { FlagKeyword, HighlightArea, NormalizedKeyword, SingleKeyword } from '../../utils/types';
export declare const normalizeFlagKeyword: (flagKeyword: FlagKeyword) => NormalizedKeyword;
export declare const normalizeSingleKeyword: (keyword: SingleKeyword, matchCase?: boolean, wholeWords?: boolean) => NormalizedKeyword;
export declare const unwrap: (ele: Node) => void;
export declare const sortHighlightPosition: (a: HighlightArea, b: HighlightArea) => 1 | 0 | -1;