export declare const V1_BASE = "https://api.appstoreconnect.apple.com/v1"; export declare const V2_BASE = "https://api.appstoreconnect.apple.com/v2"; export type AppStoreProductType = 'subscription' | 'consumable' | 'non_consumable'; export declare function authHeadersOrThrow(): Promise>; export declare function apiRequest(base: string, resourcePath: string, authHeaders: Record, init: RequestInit): Promise; /** * "리소스 없음"인지 **상태 코드로** 판별한다. * * friendlyAppStoreError 가 cause.status 에 실제 HTTP 상태를 붙여준다. 메시지 문자열로 * 404 를 찾으면 본문에 'not found'/'404' 가 섞인 403·409 까지 "없음"으로 삼켜서, * 권한 오류가 조용히 빈 결과로 둔갑한다. 상태를 못 읽는 경우에만 문자열로 폴백한다. */ export declare function isNotFound(err: unknown): boolean;