import API from './API'; import { Doc, Table, Row, Column, Page, PendingRequest } from './models/index'; export * from './errors'; export declare class Coda { API: API; constructor(token: string); whoAmI(): Promise; listDocs(params?: any): Promise; getDoc(id: string): Promise; listPages(docId: string, params: any): Promise; getPage(docId: string, pageIdOrName: string): Promise; listTables(docId: string): Promise; getTable(docId: string, tableIdOrName: string): Promise; listColumns(docId: string, tableId: string, params: any): Promise; getColumn(docId: string, tableId: string, columnIdOrName: string): Promise; listRows(docId: string, tableId: string, params: any): Promise; getRow(docId: string, tableId: string, rowIdOrName: string, params: any): Promise; insertRows(docId: string, tableId: string, rows?: any[], keyColumns?: any[]): Promise; updateRow(docId: string, tableId: string, rowIdOrName: string, row: any): Promise; deleteRow(docId: string, tableId: string, rowIdOrName: string): Promise; deleteRows(docId: string, tableId: string, rowIds: string[]): Promise; mutationStatus(requestId: string): Promise; listControls(docId: string, params: any): Promise; getControl(docId: string, controlIdOrName: string): Promise; }