import { t } from '../common'; declare type O = Record; declare type R = t.ITypedSheetRow; export declare type ITypedSheet = { readonly ok: boolean; readonly uri: t.INsUri; readonly implements: t.INsUri; readonly types: { typename: string; columns: t.IColumnTypeDef[]; }[]; readonly state: t.ITypedSheetState; readonly changes: t.ITypedSheetChanges; readonly event$: t.Observable; readonly dispose$: t.Observable; readonly isDisposed: boolean; readonly errors: t.ITypeError[]; readonly pool: t.ISheetPool; dispose(): void; info

(): Promise>; data(args: K | ITypedSheetDataArgs): ITypedSheetData; change(changes: t.ITypedSheetChanges): ITypedSheet; toString(): string; }; export declare type ITypedSheetInfo

= { exists: boolean; ns: P; }; export declare type ITypedSheetDataOptions = { range?: string; }; export declare type ITypedSheetDataArgs = { typename: K; } & ITypedSheetDataOptions; export declare type ITypedSheetData = { readonly uri: t.INsUri; readonly typename: string; readonly types: t.IColumnTypeDef[]; readonly rows: t.ITypedSheetRow[]; readonly range: string; readonly total: number; readonly status: 'INIT' | 'LOADING' | 'LOADED'; readonly isLoaded: boolean; exists(index: number): boolean; row(index: number): t.ITypedSheetRow; load(options?: string | ITypedSheetDataOptions): Promise>; toString(): string; forEach(fn: (row: t.ITypedSheetRowProps, index: number) => void): void; filter(fn: (row: t.ITypedSheetRowProps, index: number) => boolean): R[]; find(fn: (row: t.ITypedSheetRowProps, index: number) => boolean): R | undefined; map(fn: (row: t.ITypedSheetRowProps, index: number) => U): U[]; reduce(fn: (prev: U, next: t.ITypedSheetRowProps, index: number) => U, initial: U): U; }; export {};