import type _npmFetch from 'npm-registry-fetch'; import type { Maybe } from 'true-myth'; import type { Clock } from '../../common/clock.ts'; import type { PublishSettings } from '../../config/publish-settings.ts'; import type { NpmOidcPublishAuth, RegistrySettings } from '../../config/registry-settings.ts'; import { type PublicationOutcome } from '../publication-outcome.ts'; import { type PackageReleaseMetadata, type PackageVersionDetails } from './package-metadata-fetcher.ts'; type PublishManifest = Readonly> & { readonly name: string; readonly version: string; }; type PublishPackageArguments = readonly [ manifest: PublishManifest, tarData: Buffer, config: RegistrySettings, publishSettings: PublishSettings, stage: boolean ]; export type RegistryClient = { fetchLatestReleaseMetadata: (packageName: string, config: RegistrySettings) => Promise>; fetchLatestVersion: (packageName: string, config: RegistrySettings) => Promise>; fetchStagedVersions: (packageName: string, config: RegistrySettings) => Promise; publishPackage: (...args: PublishPackageArguments) => Promise; fetchTarball: (tarballUrl: string, config: RegistrySettings) => Promise; }; export {}; //# sourceMappingURL=registry-client.d.ts.map