react-native-ajora
Version:
The most complete AI agent UI for React Native
7 lines (6 loc) • 587 B
TypeScript
import { Attachement } from "../hooks/useAjora";
export default function getPermissionAsync(permission: "camera" | "mediaLibrary" | "location"): Promise<boolean>;
export declare function pickImageAsync(onAttachement: (attachement: Attachement) => void): Promise<void>;
export declare function takePictureAsync(onAttachement: (attachement: Attachement) => void): Promise<void>;
export declare function filePickerAsync(onAttachement: (attachement: Attachement) => void): Promise<void>;
export declare function audioPickerAsync(onAttachement: (audios: Attachement) => void): Promise<void>;