import { coord, t } from '../common'; declare type M = 'getNs' | 'getColumns' | 'getCells'; export declare type IStubFetcher = t.ISheetFetcher & { count: { getNs: number; getColumns: number; getCells: number; }; }; declare const instance: (args: { instance: string; implements: string; defs: { [ns: string]: t.ITypeDefPayload; }; rows?: T[] | undefined; cells?: coord.cell.ICellMap> | undefined; cache?: t.IMemoryCache | undefined; getTypeDef?: ((defs: t.INsTypeDef[]) => t.INsTypeDef) | undefined; }) => Promise; export declare const stub: { fetch: (data: { defs: { [ns: string]: t.ITypeDefPayload; }; cells?: coord.cell.ICellMap> | undefined; before?: ((args: { method: M; args: any; }) => void) | undefined; }) => IStubFetcher; instance: (args: { instance: string; implements: string; defs: { [ns: string]: t.ITypeDefPayload; }; rows?: T[] | undefined; cells?: coord.cell.ICellMap> | undefined; cache?: t.IMemoryCache | undefined; getTypeDef?: ((defs: t.INsTypeDef[]) => t.INsTypeDef) | undefined; }) => Promise; }; export {};