import React from "react"; import { type StyleProp, type ViewStyle } from "react-native"; import { type Dims, type Landmark, type FaceLandmarkConnection, type Point } from "react-native-mediapipe"; export interface FacePoint { x: number; y: number; color: ColorName; } export interface FaceSegment { startPoint: Point; endPoint: Point; color: ColorName; } export interface FaceDrawFrameProps { facePoints: FacePoint[]; faceSegments: FaceSegment[]; style?: StyleProp; } export declare const FaceDrawFrame: React.FC; declare const COLOR_NAMES: readonly ["Coral", "DarkCyan", "DeepSkyBlue", "ForestGreen", "GoldenRod", "MediumOrchid", "SteelBlue", "Tomato", "Turquoise", "SlateGray", "DodgerBlue", "FireBrick", "Gold", "HotPink", "LimeGreen", "Navy", "OrangeRed", "RoyalBlue", "SeaGreen", "Violet"]; type ColorName = (typeof COLOR_NAMES)[number]; export declare function convertLandmarksToSegments(landmarks: Landmark[], positions: FaceLandmarkConnection[], color: ColorName, frameSize: { width: number; height: number; }, viewSize: Dims, mirrored?: boolean): FaceSegment[]; export {}; //# sourceMappingURL=Drawing.d.ts.map