type SavedState<T> = {
    [entityTypeUri: string]: T;
};
type Props<T> = {
    getSavedState: () => Promise<SavedState<T>>;
    saveState: (state: SavedState<T>) => void;
    entityTypeUri?: string;
};
export declare const useSavedStateForEntityType: <T>({ getSavedState, saveState, entityTypeUri }: Props<T>) => {
    isLoaded: boolean;
    savedState: T;
    updateSavedState: (stateToSave: T) => void;
};
export {};
