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