import type { DiagnosisTargetType } from '../depot/api.js'; export declare const CI_TARGET_TYPES: readonly ["run", "workflow", "job", "attempt"]; export type CiTargetType = (typeof CI_TARGET_TYPES)[number]; export declare function toDiagnosisTargetType(target: CiTargetType): DiagnosisTargetType; /** * No production code path calls this yet; it is kept because the unit suite pins the wire * spellings it accepts, and any parser that reads a Depot targetType enum should route through it. */ export declare function normalizeTargetType(value: string | undefined): CiTargetType | undefined; export declare function inferTargetType(id: string): CiTargetType | undefined; /** * Depot does not publish its identifier formats, and agents paste whichever ID a human gave them. * Produce an ordered list of target types to try: an explicit choice wins, then a prefix hint, * then run-first because that is the ID a person is most likely to have. */ export declare function candidateTargetTypes(id: string, explicit: CiTargetType | undefined): CiTargetType[]; //# sourceMappingURL=resolve.d.ts.map