import type { UseSmartCameraResult, CameraDevice } from '../types'; /** * Hook for managing SmartCamera state and permissions * * @returns Camera state, permission handlers, and device info * * @example * ```tsx * function CameraScreen() { * const { * hasPermission, * requestPermission, * device, * switchCamera, * currentCamera * } = useSmartCamera(); * * if (!hasPermission) { * return