import { BaseRelationship } from "./base";
/**
 * ManyToMany relationship defines a relationship between two entities
 * where the owner of the relationship has many instance of the
 * related entity via a pivot table.
 *
 * For example:
 *
 * - A user has many teams. But a team has many users as well. So this
 *   relationship requires a pivot table to establish a many to many
 *   relationship between two entities
 */
export declare class ManyToMany<T> extends BaseRelationship<T> {
    type: "manyToMany";
    static isManyToMany<T>(relationship: any): relationship is ManyToMany<T>;
}
//# sourceMappingURL=many-to-many.d.ts.map