import { t } from './common'; declare type C = t.ICellData; export declare type IArgs = { sheet: t.ITypedSheet; event$: t.Subject; fetch: t.ISheetFetcher; cache?: t.IMemoryCache; }; export declare type TypedSheetStateInternal = t.ITypedSheetState & { getNs(): Promise; getCell(key: string): Promise; }; export declare class TypedSheetState implements t.ITypedSheetState { static create(args: IArgs): TypedSheetState; private constructor(); dispose(): void; private _changes; private readonly _dispose$; private readonly _event$; private readonly _sheet; readonly fetch: t.CachedFetcher; readonly dispose$: t.Observable; readonly event$: t.Observable; readonly change$: t.Observable; readonly changed$: t.Observable; get uri(): t.INsUri; get isDisposed(): boolean; get changes(): t.ITypedSheetChanges; get hasChanges(): boolean; getNs(): Promise; getCell(key: string): Promise | undefined>; clear: { cache: () => void; changes: (action: t.ITypedSheetChangesCleared['action']) => void; }; change: { ns: (to: D) => void; cell: (key: string, to: D_1) => void; }; private fire; private fireNsChanged; private fireCellChanged; private fireChanged; private fireUpdated; private isWithinNamespace; private isThisSheet; } export {};