import type { GridPrintExportOptions } from "../gridExport.mjs"; /** * The Print export API interface that is available in the grid [[apiRef]]. */ export interface GridPrintExportApi { /** * Print the grid's data. * @param {GridPrintExportOptions} options The options to apply on the export. * @returns {Promise} A promise that resolves once the print dialog has been shown, which in most browsers means once it's closed, and rejects if the print fails, for example when `onStylesheetError` stops it. */ exportDataAsPrint: (options?: GridPrintExportOptions) => Promise; }