@letanure/resend-cli
Version:
A command-line interface for Resend email API
11 lines • 548 B
TypeScript
import type { CreateEmailOptions, CreateEmailResponseSuccess } from 'resend';
import type { ApiResult } from '../../../types/index.js';
/**
* Sends an email using the Resend API
*
* @param data - Email data matching Resend's CreateEmailOptions interface
* @param apiKey - API key for Resend API
* @returns Promise<ApiResult<CreateEmailResponseSuccess>> - Standard result format
*/
export declare function sendEmail(data: CreateEmailOptions, apiKey: string): Promise<ApiResult<CreateEmailResponseSuccess>>;
//# sourceMappingURL=action.d.ts.map