@letanure/resend-cli
Version:
A command-line interface for Resend email API
19 lines • 694 B
TypeScript
/**
* Shared utility for Resend API key validation
* Used by both CLI commands and TUI components
*/
/**
* Gets and validates the Resend API key from environment variables or command line
* Exits the process if the API key is missing (for CLI usage)
*/
export declare function getResendApiKey(providedApiKey?: string): string;
/**
* Checks if the Resend API key is available
* Returns the key if available, null if missing (for TUI usage)
*/
export declare function getResendApiKeyOrNull(providedApiKey?: string): string | null;
/**
* Gets the documentation URL for Resend API keys
*/
export declare function getResendApiKeyDocsUrl(): string;
//# sourceMappingURL=resend-api.d.ts.map