import { Media } from '../entities/media.entity';
import { RequestContextService } from '../services/request-context.service';
import { DataSource } from 'typeorm';
import { FieldMetadataRepository } from './field-metadata.repository';
import { MediaStorageProviderMetadataRepository } from './media-storage-provider-metadata.repository';
import { ModelMetadataRepository } from './model-metadata.repository';
import { SecurityRuleRepository } from './security-rule.repository';
import { SolidBaseRepository } from './solid-base.repository';
export declare class MediaRepository extends SolidBaseRepository<Media> {
    readonly dataSource: DataSource;
    readonly requestContextService: RequestContextService;
    readonly securityRuleRepository: SecurityRuleRepository;
    private readonly fieldMetadataRepo;
    private readonly modelMetadataRepo;
    private readonly mediaStorageProviderMetadataRepo;
    constructor(dataSource: DataSource, requestContextService: RequestContextService, securityRuleRepository: SecurityRuleRepository, fieldMetadataRepo: FieldMetadataRepository, modelMetadataRepo: ModelMetadataRepository, mediaStorageProviderMetadataRepo: MediaStorageProviderMetadataRepository);
    createMedia(createDto: any): Promise<Media[]>;
    findByEntityIdAndFieldIdAndModelMetadataId(entityId: number, fieldMetadataId: number, modelMetadataId: number, relations?: {}): Promise<Media[]>;
    deleteByEntityIdAndFieldIdAndModelMetadataId(entityId: number, fieldMetadataId: number, modelMetadataId: number): Promise<Media[]>;
}
//# sourceMappingURL=media.repository.d.ts.map