import { t } from '../common'; export declare type ISheetFetcher = { getNs: FetchSheetNs; getColumns: FetchSheetColumns; getCells: FetchSheetCells; }; export declare type FetchSheetNs = (args: { ns: string; }) => Promise; export declare type FetchSheetNsResult = { ns?: t.INsProps; error?: t.IHttpError; }; export declare type FetchSheetColumns = (args: { ns: string; }) => Promise; export declare type FetchSheetColumnsResult = { columns?: t.IColumnMap; error?: t.IHttpError; }; export declare type FetchSheetCells = (args: { ns: string; query: string; }) => Promise; export declare type FetchSheetCellsResult = { total: { rows: number; }; cells?: t.ICellMap; error?: t.IHttpError; };