import type {Store, StoreDefinition} from 'reflux'; type RemoveIndex = { [P in keyof T as string extends P ? never : P]: T[P]; }; declare module 'reflux' { function createStore( storeDefinition: T ): RemoveIndex; }