export declare function useLayoutDB(): {
    save: (id: string, lengths: number[]) => Promise<boolean>;
    get: (id: string) => Promise<number[] | null>;
    getCached: (id: string) => number[] | null;
    getSync: (id: string) => {
        data: number[] | null;
        isLoaded: boolean;
    };
    deleteItem: (id: string) => Promise<boolean>;
    resetSyncState: () => void;
    isLoading: boolean;
    error: Error | null;
};
