import type { CancelablePromise } from '../core/CancelablePromise'; export declare class Googlesheets { /** * Read data from a spreadsheet * @returns void * @throws ApiError */ static read({ sheetId, sheetName, }: { /** Google Sheet spreadsheet ID. Found in the URL. **/ sheetId: string; /** Google Sheet name. Leave blank to select the first sheet. **/ sheetName?: string; }): CancelablePromise; /** * Adds a row to a spreadsheet * @returns void * @throws ApiError */ static addRow({ sheetId, value, sheetName, }: { /** Google Sheet spreadsheet ID. Found in the URL. **/ sheetId: string; /** Value to add. Objects to append to the spreadsheet, e.g. { "firstColumn": "Bob", "secondColumn": "Joe" } **/ value: any; /** Google Sheet name. Leave blank to select the first sheet. **/ sheetName?: string; }): CancelablePromise; /** * Adds rows to a spreadsheet * @returns void * @throws ApiError */ static addRows({ sheetId, values, sheetName, }: { /** Google Sheet spreadsheet ID. Found in the URL. **/ sheetId: string; /** Values to add. Array of objects to append to the spreadsheet, e.g. [{ "firstColumn": "Bob", "secondColumn": "Joe" }, { "firstColumn": "Jack", "secondColumn": "Jill" }] **/ values: any[]; /** Google Sheet name. Leave blank to select the first sheet. **/ sheetName?: string; }): CancelablePromise; }