import { PluginUtils } from '@baseplate-dev/project-builder-lib';
/**
 * Get the email plugin definition from the project definition.
 * @param definition - The project definition.
 * @returns The email plugin definition.
 */
export function getEmailPluginDefinition(definition) {
    return PluginUtils.configByKeyOrThrow(definition, 'baseplate-dev_plugin-email_email');
}
//# sourceMappingURL=get-email-plugin-definition.js.map