import { type Request, type ResponseToolkit } from '@hapi/hapi';
declare const _default: ({
    method: string;
    path: string;
    handler(request: Request<{
        Payload: {
            meta: {
                referenceNumber: string;
            };
        };
    }>, _h: ResponseToolkit): {
        submissionEvent: string;
        submissionReferenceNumber: string;
    };
} | {
    method: string;
    path: string;
    handler(request: Request<{
        Payload: {
            data: {
                main: {
                    applicantFirstName: string;
                    applicantLastName: string;
                    dateOfBirth: string;
                };
            };
            meta: {
                event: string;
                referenceNumber: string;
            };
        };
    }>, _h: ResponseToolkit): {
        calculatedAge: number;
        submissionEvent: string;
        submissionReferenceNumber: string;
    };
})[];
export default _default;
