import type { Token } from './auth.ts'; export type OidcOptions = { /** The package name being published, e.g. `@scope/name` */ packageName: string; /** The full registry URL, e.g. `https://registry.npmjs.org/` */ registry: string; }; /** * Detect CI environment and exchange an OIDC ID token for a * registry auth token. Sets the token into the runtime token * store so subsequent requests are authenticated. * * This function **never throws**. OIDC is always optional — if * it is unavailable or any step fails the function returns * `undefined` silently. */ export declare const oidc: (opts: OidcOptions) => Promise;