import { GridExtension } from '../GridExtension.ts'; import { BSGrid } from '../../../index.ts'; export type ExcelDownloadOption = { sheetName?: string | (() => string); filename?: string | (() => string); }; /** * BSGrid 헤더에서 마우스 오른쪽 버튼을 누르면 표시되는 메뉴에 '엑셀 다운로드' 메뉴가 추가된다. * * ```html * * ``` * @param option */ export declare const gridExcelDownloadExtension: (option?: ExcelDownloadOption) => GridExtension; /** * BSGrid 에 현재 표시되는 데이터를 Excel 형식으로 다운로드한다. * @param grid * @param option */ export declare const downloadGridDataAsExcel: (grid: typeof BSGrid, option?: ExcelDownloadOption) => void;