import type { Dispatcher } from 'undici'; import type { RegistryClient, RegistryClientRequestOptions } from './index.ts'; export type OtpResult = { retry: RegistryClientRequestOptions; } | { bodyConsumed: string; } | undefined; export declare const otplease: (client: RegistryClient, options: RegistryClientRequestOptions, response: Dispatcher.ResponseData) => Promise;