```ts
/**
 * The store without the keys a list names. */
export function dropKeys(
  store: Record<string, number>,
  keys: string[],
): Record<string, number> {
  if (!Array.isArray(keys) || !keys.every(key => typeof key === 'string')) {
    throw new Error('Invalid arguments: keys must be an array of strings');
  }

  const kept: Record<string, number> = {};
  for (const key in store) {
    if (!keys.includes(key)) {
      kept[key] = store[key];
    }
  }
  return kept;
}
```