import { Transaction } from 'sequelize'; import { AggregateOptions, CreateOptions, DestroyOptions, TargetKey } from '../repository'; import { MultipleRelationRepository } from './multiple-relation-repository'; import { AssociatedOptions, PrimaryKeyWithThroughValues } from './types'; type CreateBelongsToManyOptions = CreateOptions; export declare class BelongsToManyRepository extends MultipleRelationRepository { aggregate(options: AggregateOptions): Promise; create(options?: CreateBelongsToManyOptions): Promise; destroy(options?: TargetKey | TargetKey[] | DestroyOptions): Promise; add(options: TargetKey | TargetKey[] | PrimaryKeyWithThroughValues | PrimaryKeyWithThroughValues[] | AssociatedOptions): Promise; set(options: TargetKey | TargetKey[] | PrimaryKeyWithThroughValues | PrimaryKeyWithThroughValues[] | AssociatedOptions): Promise; toggle(options: TargetKey | { tk?: TargetKey; transaction?: Transaction; }): Promise; extendFindOptions(findOptions: any): any; throughName(): any; throughModel(): any; protected setTargets(call: 'add' | 'set', options: TargetKey | TargetKey[] | PrimaryKeyWithThroughValues | PrimaryKeyWithThroughValues[] | AssociatedOptions): Promise; } export {};