/** * @name Screenshot * @description Captures a screen shot * @usage * ```typescript * import {Screenshot} from 'ionic-native'; * * // Take a screenshot and save to file * Screenshot.save('jpg', 80, 'myscreenshot.jpg').then(onSuccess, onError); * * // Take a screenshot and get temporary file URI * Screenshot.URI(80).then(onSuccess, onError); * ``` */ export declare class Screenshot { /** * Takes screenshot and saves the image * * @param {string} format. Format can take the value of either 'jpg' or 'png' * On ios, only 'jpg' format is supported * @param {number} quality. Determines the quality of the screenshot. * Default quality is set to 100. * @param {string} filename. Name of the file as stored on the storage * @returns {Promise} */ static save(format?: string, quality?: number, filename?: string): Promise; /** * Takes screenshot and returns the image as an URI * * @param {number} quality. Determines the quality of the screenshot. * Default quality is set to 100. * @returns {Promise} */ static URI(quality?: number): Promise; }