declare module '@rikishi/watermelondb/utils/common/makeDecorator' { import { ReplaceReturn } from '@rikishi/watermelondb/utils/common' export type Descriptor = Object export type RawDecorator = (target: Object, key: string, descriptor: Descriptor) => Descriptor export type RawDecoratorFactory = (...any: T) => RawDecorator export type Decorator< Args extends any[], Factory extends RawDecoratorFactory // TODO: fix > = ReplaceReturn export default function makeDecorator< Args extends any[], T extends RawDecoratorFactory >(): Decorator }