hunk.code_window:   };
   });
   export const StyledShortcut = styled('div')(({ theme }) => {
     return {
       color: theme.colors.placeHolderColor,
       fontSize: theme.font.sm,
       whiteSpace: 'nowrap',
     };
   });
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:     fontSize: theme.font.base,
  
hunk.file_path: packages/app/src/components/quick-search/style.ts
hunk.type: replace
file: import { createStore, keys, setMany, getMany, clear } from 'idb-keyval';
  import * as idb from 'lib0/indexeddb.js';
  
  type IDBInstance<T = ArrayBufferLike> = {
    keys: () => Promise<string[]>;
    clear: () => Promise<void>;
    deleteDB: () => Promise<void>;
    setMany: (entries: [string, T][]) => Promise<void>;
    getMany: (keys: string[]) => Promise<T[]>;
  };
  
  export function getDatabase<T = ArrayBufferLike>(
    type: string,
    database: string
  ): IDBInstance<T> {
    const name = `${database}_${type}`;
    const db = createStore(name, type);
    return {
      keys: () => keys(db),
      clear: () => clear(db),
      deleteDB: () => idb.deleteDB(name),
      setMany: entries => setMany(entries, db),
      getMany: keys => getMany(keys, db),
    };
  }
  