import { smokeTest } from './cal-com.js'
/**
* Verify Cal.com credentials by reading a trimmed `/me` profile.
* Without credentials, returns setup URLs instead of throwing.
* @param {Object} [input]
* @param {boolean} [input.dryRun] Skip the live `/me` call.
* @returns {Promise<{ ok: true, live: boolean, profile?: Record<string, unknown>, setup: object }>}
* @example
* import smokeTest from 'kody:@kody/cal-com/smoke-test'
* const result = await smokeTest()
* // => { ok: true, live: true, profile: { id: 1, username: '...', email: '...' } }
*/
export default async function smokeTestEntrypoint(input = {}) {
return await smokeTest(input)
}