import { HookOptions } from '../../shared/hook-options'; export declare function BeforeUpsert(target: any, propertyName: string): void; export declare function BeforeUpsert(options: HookOptions): Function;