import { ColumnApi, GridApi } from 'ag-grid-community';
import React from 'react';
export interface ExportPageFormat {
    pageWidthInInches: number;
    pageHeightInInches?: number;
    marginInPixels?: {
        top: number;
        left: number;
        bottom: number;
        right: number;
    };
}
export interface Config {
    header?: React.FunctionComponent;
    gridApi: GridApi;
    columnApi: ColumnApi;
    tableContainer: HTMLElement;
    preserveColumnWidths?: boolean;
    pageFormat?: ExportPageFormat;
    showTableHeaderOnEveryPage?: boolean;
}
export declare function generateHTMLString({ columnApi, gridApi, header: Header, tableContainer, preserveColumnWidths, pageFormat, showTableHeaderOnEveryPage, }: Config): Promise<string>;
