import { GoogleSheetConfig, GoogleSheetCell, GoogleSheetCellValue, GoogleSheetAddRowResponse, GoogleSheetAddSheetResponse, GoogleSheetCellResponse, GoogleSheetWriteArrayResponse } from "../types"; import "dotenv/config"; /** * Adds a row of values to the bottom of a specified Google Sheet * @param config The sheet configuration containing spreadsheetId and sheetName * @param values Array of values to add as a new row * @param startColumn Optional starting column (defaults to 'A') * @returns Promise resolving to response with success status and row details */ export declare function addRow(config: GoogleSheetConfig, values: GoogleSheetCellValue[], startColumn?: string): Promise; /** * Adds a new sheet to an existing Google Spreadsheet * @param spreadsheetId The ID of the spreadsheet to add the sheet to * @param sheetTitle Title for the new sheet * @returns Promise resolving to response with success status and sheet details */ export declare function addSheet(spreadsheetId: string, sheetTitle: string): Promise; /** * Writes a value to a specific cell in a Google Sheet * @param config The sheet configuration containing spreadsheetId and sheetName * @param cell The cell coordinates (row and column) * @param value The value to write * @returns Promise resolving to response with success status */ export declare function writeCell(config: GoogleSheetConfig, cell: GoogleSheetCell, value: GoogleSheetCellValue): Promise; /** * Gets the value from a specific cell in a Google Sheet * @param config The sheet configuration containing spreadsheetId and sheetName * @param cell The cell coordinates (row and column) * @returns Promise resolving to response with success status and cell value */ export declare function getCell(config: GoogleSheetConfig, cell: GoogleSheetCell): Promise; /** * Writes an array of arrays to a Google Sheet * @param config The sheet configuration containing spreadsheetId and sheetName * @param data Array of arrays containing the data to write * @param startCell Optional starting cell in A1 notation (defaults to 'A1') * @returns Promise resolving to response with success status and update details */ export declare function writeArray(config: GoogleSheetConfig, data: GoogleSheetCellValue[][], startCell?: string): Promise;