import { ImageSource , View } from "@nativescript/core" ; export interface PrintOptions { /**
     * Default false
     * iOS only
     */ showsNumberOfCopies ? : boolean ; /**
     * Default false
     * iOS only
     */ showsPageRange ? : boolean ; } export interface PrintScreenOptions extends PrintOptions { /**
     * By default the entire screen is printed, but may be limited to a specific view.
     */ view ? : View ; } export interface PrintImageOptions extends PrintOptions { imageSrc : ImageSource ; } export interface PrintPDFOptions extends PrintOptions { pdfPath : string ; } export interface PrinterApi { isSupported ( ) : Promise < boolean > ; printScreen ( arg ? ) : Promise < boolean > ; printImage ( arg ) : Promise < boolean > ; printPDF ( arg ) : Promise < boolean > ; }