import { CollectEntityInformationArgs } from '../metadata'; import { CreateOrUpdateHookParams, DeleteHookParams, ReadHookParams } from '../types'; export type EntityOptions = Partial, 'fields' | 'gqlEntityType'>>; export type CustomHookFunction = (params: CreateOrUpdateHookParams | DeleteHookParams | ReadHookParams) => Promise> | Partial; export declare function Entity(name: string): ClassDecorator; export declare function Entity(options: EntityOptions): ClassDecorator; export declare function Entity(name: string, options: EntityOptions): ClassDecorator;