export type WhereHasMethod = 'whereExists' | 'orWhereExists' | 'whereNotExists' | 'orWhereNotExists'; export declare function whereHasSubquery(parentQuery: any, Model: any, relations: string[], callback?: (q: any) => void, method?: WhereHasMethod | boolean): void;