export type ExcelColumn = {
    prop: string;
    label: string;
};
export type ExcelFormatCell = (prop: string, row: Record<string, unknown>) => string;
/** 导入模板排除的自动字段（实体公共列） */
export declare const IMPORT_SKIP_FIELDS: readonly ["id", "createTime", "updateTime", "deleteTime", "tenantId"];
export declare function isImportSkipField(name: string): boolean;
type ExcelHeaderMode = 'label' | 'prop';
/** 二维表 → xlsx 二进制 */
export declare function buildExcelBuffer(columns: ExcelColumn[], rows: Record<string, unknown>[], formatCell?: ExcelFormatCell, options?: {
    header?: ExcelHeaderMode;
}): Uint8Array;
/** 仅表头的导入模板（表头 = 实体字段名） */
export declare function buildImportTemplateBuffer(props: string[]): Uint8Array;
/** 解析 xlsx：首行表头（实体字段名）→ 行对象 */
export declare function parseExcelBuffer(data: ArrayBuffer | Uint8Array): Record<string, unknown>[];
export declare function excelFilename(name: string): string;
/** Service 下载响应头 */
export declare function excelResponseHeaders(filename: string): {
    'Content-Type': string;
    'Content-Disposition': string;
};
export {};
