import { ConfigService } from '@nestjs/config';
import { DataSource, type EntityManager } from 'typeorm';
import type { UploadedAttachment } from '../abstracts/abstract-submissions.service.js';
import { AttachmentStorageService } from '../abstracts/attachment-storage.service.js';
import { EditionsService } from '../editions/editions.service.js';
import { MailService } from '../mail/mail.service.js';
import { FormCopyService } from '../notifications/form-copy.service.js';
import { type ActivityPriceBreakdown } from './activity-pricing.js';
import { CongressStatus } from './activity.enums.js';
import type { ActivityQuoteResultDto, ActivityReceiptDto } from './dto/activity-public.dto.js';
import type { ActivityQuoteDto, CreateActivityRegistrationDto } from './dto/create-activity-registration.dto.js';
import type { Activity } from './entities/activity.entity.js';
export interface ActivityRegistrationValues {
    name: string;
    phone: string;
    email: string;
    taxId?: string;
    imageConsent: boolean;
}
export declare class ActivityRegistrationsService {
    private readonly dataSource;
    private readonly editions;
    private readonly storage;
    private readonly mail;
    private readonly formCopies;
    private readonly config;
    private readonly logger;
    constructor(dataSource: DataSource, editions: EditionsService, storage: AttachmentStorageService, mail: MailService, formCopies: FormCopyService, config: ConfigService);
    quote(editionSlug: string, dto: ActivityQuoteDto): Promise<ActivityQuoteResultDto>;
    submit(editionSlug: string, dto: CreateActivityRegistrationDto, proof?: UploadedAttachment): Promise<ActivityReceiptDto>;
    private sendEmails;
}
export declare function toStoredValues(values: ActivityRegistrationValues, congressStatus: CongressStatus, price: ActivityPriceBreakdown): {
    name: string;
    phone: string;
    email: string;
    congressStatus: CongressStatus;
    totalCents: number;
    priceLines: import("./activity-pricing.js").ActivityPriceLine[];
    taxId: string | null;
    imageConsent: boolean;
};
export declare function saveItems(manager: EntityManager, registrationId: number, activities: Activity[]): Promise<void>;
