import type { CodegenTypes, HostComponent, ViewProps } from 'react-native'; export type ErrorEvent = { message: string; }; export type LoadCompleteEvent = { height: CodegenTypes.Int32; width: CodegenTypes.Int32; }; export type ResizeMode = 'contain' | 'fitWidth'; interface NativeProps extends ViewProps { annotation?: string; annotationStr?: string; onPdfError: CodegenTypes.BubblingEventHandler; onPdfLoadComplete: CodegenTypes.BubblingEventHandler; page: CodegenTypes.Int32; resizeMode?: CodegenTypes.WithDefault; source: string; } interface NativeCommands { imperativeApplyAnnotation(viewRef: React.ElementRef>, annotation: string): void; } export declare const Commands: NativeCommands; declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType; export default _default; //# sourceMappingURL=PdfViewNativeComponent.d.ts.map