export declare function hasOne({ urlPath, classProp, }: { urlPath: string; classProp: string; }): {}>(constr: C) => { new (...args: any[]): {}; } & C;