import type { DeviceId, Fingerprint } from '../../../../domain/device.js'; import type { Result } from '../../../../framework/types/result.js'; import type { Infrastructure } from '../../../../infrastructure/mod.js'; import { DeregisterDeviceClientError, DeregisterDevicePlatformError, DeviceIsAlreadyDeregisteredError } from './errors.js'; interface Options { infrastructure: Infrastructure; } export interface Dto { readonly device: Readonly<{ id: DeviceId; fingerprint: Fingerprint; }>; } export interface ErrorResponse { readonly type: string; readonly message: string; } type DeregisterDeviceError = DeviceIsAlreadyDeregisteredError | DeregisterDeviceClientError | DeregisterDevicePlatformError; export declare function buildDeregisterDevice(options: Options): (dto: Dto) => Promise>; export {}; //# sourceMappingURL=mod.d.ts.map