import type { IncomingMessage } from "node:http"; export type RegistryProxyResult = { body: string; contentType: string; setCookie?: string[]; status: number; }; export type RegistryProxy = { proxyRequest(pathname: string, request: IncomingMessage): Promise; proxyRequestWithTokens(pathname: string, request: IncomingMessage, tokens: string[]): Promise; proxySignIn(pathname: string, request: IncomingMessage): Promise; }; export declare function createRegistryProxy(authRegistryTargets: (pathname: string) => URL[]): RegistryProxy;