export function assertDrive(state: any, driveName: any): void;
export function setUrl(resource: any, apiVersion: any): any;
export function handleResponse(response: any, state: any, callback: any): any;
export function handleResponseError(response: any, data: any, method: any): void;
/**
* The function `sheetToBuffer` takes in rows, options and optional callback, It creates a workbook
* and worksheet using the rows, appends the worksheet to the workbook, and returns the workbook as a
* buffer.
* @public
* @example
*
Create a buffer containing excel file with `xlsx` output format
* sheetToBuffer('$.data[*]', {
* wsName: 'Invalid Grant Codes',
* bookType: 'xlsx',
* });
* @param rows - The `rows` parameter is an array of objects representing the data to be written to the
* Excel sheet. Each object in the array represents a row in the sheet, and the keys of the object
* represent the column headers. The values of the object represent the data in each cell of the row.
* @param options - The `options` parameter is an object that contains additional configuration options
* @param {String} [options.wsName] - Worksheet name i.e 32 Characters
* @param {String} [options.bookType] - File format of the exported file, Default is 'xlsx'. See {@link https://docs.sheetjs.com/docs/api/write-options/#supported-output-formats here}
* for the function. It can have the following properties:
* @returns a buffer containing the Excel file in `state.buffer`.
*/
export function sheetToBuffer(rows: any, options: any, callback: any): (state: any) => any;
export function assertResources(resources: any): void;
export function request(path: any, params: any): Promise;