UNPKG

770 BTypeScriptView Raw
1import { Client } from '../client';
2import { Value, EventCallback } from '../types';
3import { Subscription } from 'rxjs';
4export declare class Cell {
5 private _client;
6 workspaceId: string;
7 coreId: string;
8 tableId: string;
9 columnId: string;
10 rowId: string;
11 value: Value | undefined;
12 constructor(client: Client | undefined, workspaceId: string, coreId: string, tableId: string, columnId: string, rowId: string, value?: Value);
13 onCellUpdated(cb: EventCallback): Subscription;
14 on(cb: EventCallback): Subscription;
15}
16export declare class CellArray {
17 private _client;
18 cells: Cell[];
19 constructor(client: Client, cells: Cell[]);
20 onCellUpdated(cb: EventCallback): Subscription[];
21 on(cb: EventCallback): Subscription[];
22}