import { RegistryPolicy } from "./auth.js"; import { Transport } from "./proxy.js"; import { Registry } from "./registry.js"; import { Metrics } from "./metrics.js"; import { createPinboard } from "./server.js"; import { Passport } from "@assistant-ui/passport"; //#region src/registry-api.d.ts type RegistryRole = "pinboard:operator" | "pinboard:worker"; declare const authenticateRegistry: (passport: Passport.Instance, hostnameAware: boolean, req: Request, role: RegistryRole) => Promise; declare namespace createRegistryApi { type Deps = { registry: Registry; passport: Passport.Instance; hostnameAware: boolean; metrics: Metrics.Instance; pool?: ((hostname: string) => string) | undefined; serving(): Promise; now(): number; health(): Promise; fetch: Transport.FetchLike; }; } declare const createRegistryApi: (deps: createRegistryApi.Deps) => ((req: Request, pathname: string) => Promise); //#endregion export { authenticateRegistry, createRegistryApi }; //# sourceMappingURL=registry-api.d.ts.map