import type { EmailRawOptions, EmailSendOptions } from '$emailsTypes';
/**
 * Sends a raw email using the email queue.
 *
 * @param options - The options for sending the email.
 * @returns The job ID of the email job.
 */
export declare function sendRawEmail(options: EmailRawOptions): Promise<string | undefined>;
/**
 * Renders an email component and sends it using the email queue.
 *
 * @param component - The email component to render (must be created with defineEmail).
 * @param options - The options for sending the email, including data props.
 * @returns The job ID of the email job.
 */
export declare function sendEmail<P extends object>(component: TPL_EMAIL_COMPONENT<P>, options: {
    data: P;
} & EmailSendOptions): Promise<string | undefined>;
//# sourceMappingURL=emails.service.d.ts.map