import { ColorValue, ViewProps, type HostComponent } from 'react-native'; import { Double, WithDefault, type DirectEventHandler, type Int32 } from 'react-native/Libraries/Types/CodegenTypes'; export type CroppingViewEvent = Readonly<{ result: string; }>; interface NativeProps extends ViewProps { onCroppedAreaResult: DirectEventHandler; onError: DirectEventHandler>; imageFileSrc?: string; imageRefSrc?: string; edgeColor?: ColorValue; edgeLineWidth?: WithDefault; edgeColorOnLine?: ColorValue; anchorPointsColor?: ColorValue; } declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType; export default _default; interface NativeCommands { resetPolygon: (viewRef: React.ElementRef>) => void; detectPolygon: (viewRef: React.ElementRef>) => void; rotate: (viewRef: React.ElementRef>, clockwise: boolean) => void; extractCroppedArea: (viewRef: React.ElementRef>) => void; } export declare const Commands: NativeCommands; //# sourceMappingURL=ScanbotCroppingViewNativeComponent.d.ts.map