import { DataSource } from 'typeorm';
import { EditionsService } from '../editions/editions.service.js';
import { AttachmentStorageService } from './attachment-storage.service.js';
import { AbstractCopyService } from './author/abstract-copy.service.js';
import { AuthorNotificationsService } from './author/author-notifications.service.js';
import type { CreateAbstractDto } from './dto/create-abstract.dto.js';
import type { SubmissionReceiptDto } from './dto/submission-receipt.dto.js';
export interface UploadedAttachment {
    buffer: Buffer;
    mimetype: string;
    size: number;
    originalname: string;
}
export declare class AbstractSubmissionsService {
    private readonly dataSource;
    private readonly editions;
    private readonly storage;
    private readonly authorNotifications;
    private readonly copies;
    private readonly logger;
    constructor(dataSource: DataSource, editions: EditionsService, storage: AttachmentStorageService, authorNotifications: AuthorNotificationsService, copies: AbstractCopyService);
    submit(editionSlug: string, dto: CreateAbstractDto, attachment?: UploadedAttachment): Promise<SubmissionReceiptDto>;
    private sendCopies;
    private validateSubmission;
    private persist;
}
