import { Resolution } from "./placement.js"; //#region src/refusals.d.ts type ServeResolution = Resolution | { kind: "not-serving"; } | { kind: "no-hostname-workers"; } | { kind: "binding-quarantine"; retryAfterMs: number; } | { kind: "env-conflict"; }; type Refusal = Exclude; declare const RESOLUTION_OUTCOMES: readonly ["forward", "unknown-ns", "no-backends", "quarantine", "not-serving", "no-hostname-workers", "binding-quarantine", "takeover-pending", "env-conflict", "nack"]; type ResolutionCounts = Record<(typeof RESOLUTION_OUTCOMES)[number], number>; declare const createResolutionCounts: () => ResolutionCounts; declare const resolutionOutcome: (kind: ServeResolution["kind"]) => (typeof RESOLUTION_OUTCOMES)[number]; declare const refusalResponse: (refusal: Refusal, now: number) => Response; //#endregion export { RESOLUTION_OUTCOMES, Refusal, ResolutionCounts, ServeResolution, createResolutionCounts, refusalResponse, resolutionOutcome }; //# sourceMappingURL=refusals.d.ts.map