/** * Single owner for the "is this build failure the tenant's fault?" question. * * Two layers need the answer and cannot import each other: the module loader * (which tags errors at their capture seam) and observability (which must not * depend on the rendering layer). They exchange the verdict through a shared * symbol, but the verdict itself is computed here so a new tenant-facing slug * only has to be added once. Duplicating the slug set drifts silently — the * same error would classify differently depending on which seam saw it first. */ /** * Whether `error` describes tenant source or content failing to build (a page * that does not compile, MDX that does not parse) rather than a framework * fault. * * Recognizes two discriminators, both written at the seam that knows: * - an explicit `tenantBuildFailure: true` error context, set by a compiler * stage that inspected the diagnostic, and * - a tenant-facing BUILD registry slug. * * The module loader's symbol tag is deliberately *not* read here: it is set * from this predicate, so reading it back would be circular. */ export declare function isTenantSourceBuildError(error: unknown): boolean; //# sourceMappingURL=tenant-classification.d.ts.map