import type { Infrastructure } from '../infrastructure/mod.js' import { buildCryptoService } from './crypto/mod.js' import { buildDeviceService } from './device/mod.js' import { buildPlatformService } from './platform/mod.js' import { buildSigningService } from './signing/mod.js' interface Options { infrastructure: Infrastructure } export function buildServices(options: Options) { return { crypto: buildCryptoService(), device: buildDeviceService(), signing: buildSigningService(), platform: buildPlatformService(options), } as const } export type Services = ReturnType