import { CopyAllDataParams, Copyable, SpreadSheet } from '../../../node_modules/@antv/s2/esm/index.d.ts'; import { DropdownProps } from 'ant-design-vue'; export interface ExportBaseProps { className?: string; copyOriginalText?: string; copyFormatText?: string; downloadOriginalText?: string; downloadFormatText?: string; fileName?: string; async?: boolean; dropdown?: DropdownProps; customCopyMethod?: (params: CopyAllDataParams) => Promise | string | Promise | Copyable; onCopySuccess?: (data: Copyable | string | undefined) => void; onCopyError?: (error: unknown) => void; onDownloadSuccess?: (data: string) => void; onDownloadError?: (error: unknown) => void; } export interface ExportProps extends ExportBaseProps { sheetInstance: SpreadSheet; }