/** * Tells the Spokestack speech pipeline to start listening. * Also requests permission to listen if necessary. * It will attempt to start the pipeline before activating * if not already started. * This function will do nothing if the app is in the background. * * ``` * import { listen } from 'react-native-spokestack-tray' * try { * await listen() * } catch (error) { * console.error(error) * } * ``` */ export declare function listen(): Promise; export declare function stopListening(): Promise;