import { NativeModule, requireNativeModule } from "expo"; import type { ExpoPdfModuleEvents, ShareParams, ThumbnailParams, } from "./ExpoPdf.types"; declare class ExpoPdfModule extends NativeModule { PI: number; hello(): string; setValueAsync(value: string): Promise; shareAsync(params: ShareParams | string): Promise; getPageThumbnailAsync(params: ThumbnailParams): Promise; clearCacheAsync(): Promise; } // This call loads the native module object from the JSI. export default requireNativeModule("ExpoPdf");