import type { OAuth2Client, JWT } from 'google-auth-library'; export interface RecoveryTargeting { /** 전체 사용자 대상. versionCodes / 범위와 함께 쓸 수 없다. */ allUsers?: boolean; /** 특정 버전 코드들 */ versionCodes?: string[]; /** 버전 코드 범위 (start~end) */ versionRange?: { start: string; end: string; }; /** 지역 코드 (예: KR, US) */ regions?: string[]; /** Android SDK 레벨 */ sdkLevels?: string[]; } export declare function buildTargeting(t: RecoveryTargeting): Record; export declare function listRecoveryActions(auth: OAuth2Client | JWT, packageName: string, versionCode?: string): Promise<{ id: string | null | undefined; status: string | null | undefined; createTime: string | null | undefined; deployTime: string | null | undefined; cancelTime: string | null | undefined; targeting: import("googleapis/build/src/apis/androidpublisher/v3.js").androidpublisher_v3.Schema$Targeting | undefined; }[]>; /** DRAFT 상태로만 만든다 — 실제 배포는 deployRecoveryAction 이 별도로 한다. */ export declare function createRecoveryAction(auth: OAuth2Client | JWT, packageName: string, targeting: RecoveryTargeting): Promise<{ id: string | null | undefined; status: string | null | undefined; targeting: import("googleapis/build/src/apis/androidpublisher/v3.js").androidpublisher_v3.Schema$Targeting | undefined; }>; export declare function deployRecoveryAction(auth: OAuth2Client | JWT, packageName: string, appRecoveryId: string): Promise<{ appRecoveryId: string; deployed: boolean; }>; export declare function cancelRecoveryAction(auth: OAuth2Client | JWT, packageName: string, appRecoveryId: string): Promise<{ appRecoveryId: string; cancelled: boolean; }>;