/** * Classify xcodebuild / altool failures into typed errors with stable codes, * redacting signing identities and key-file names before anything reaches the * caller (LLM context = untrusted sink for secrets). * * Mapping (codes carried by the typed classes, see src/errors/asc.ts): * TESTFLIGHT_SIGNING_ERROR -> TestflightSigningError * TESTFLIGHT_VERSION_COLLISION -> TestflightVersionCollisionError * ASC_AUTH_ERROR -> AscAuthError * ASC_UPLOAD_ERROR -> AscUploadError */ import { MobileError } from "../../errors.js"; /** * App Store bundle-reject patterns observed in real altool validate/upload * runs, with actionable recovery hints. Matched against individual validation * `detail :` lines (upload.ts) and against whole stderr (classifyXcodeError). */ export declare const BUNDLE_REJECT_HINTS: ReadonlyArray<{ pattern: RegExp; hint: string; }>; /** First matching recovery hint for a bundle-reject message, if any. */ export declare function bundleRejectHint(text: string): string | undefined; export declare function redactSigningInfo(text: string): string; /** * Map raw stderr to a typed error. Patterns match against the RAW stderr * (redaction may drop the very line that identifies the failure class), but * the resulting message only ever contains redacted content. */ export declare function classifyXcodeError(stderr: string, context: string): MobileError; //# sourceMappingURL=classify-build-error.d.ts.map