export interface IPlayStoreValidationResult { valid: boolean; jsonKeyPath?: string; serviceAccountEmail?: string; projectId?: string; errors: string[]; warnings: string[]; } export interface IPlayStoreListing { language: string; title?: string; shortDescription?: string; fullDescription?: string; } export interface IPlayStoreTrack { track: string; releases: { name?: string; versionCodes?: string[]; status?: string; releaseNotes?: { language: string; text: string; }[]; }[]; } export interface IPlayStoreImage { id: string; url: string; sha1: string; sha256: string; } export declare class PlayStoreService { private getAuthClient; private apiRequest; private createEdit; private commitEdit; private deleteEdit; /** * Validate JSON key from file path or inline JSON string. */ validateJsonKey(jsonKeyPathOrData: string): IPlayStoreValidationResult; /** * Verify API access by creating and deleting an edit session. */ verifyAccess(packageName: string): Promise<{ success: boolean; message: string; }>; /** * Get all localized store listings for an app. */ getListings(packageName: string): Promise; /** * Get store listing for a specific language. */ getListing(packageName: string, language: string): Promise; /** * Update store listing for a specific language. */ updateListing(packageName: string, language: string, listing: Omit): Promise; /** * Get all tracks (release channels) for an app. */ getTracks(packageName: string): Promise; /** * List images for a specific image type and language. */ listImages(packageName: string, language: string, imageType: string): Promise; /** * Upload an image (screenshot, icon, etc.) for a specific language and type. */ uploadImage(packageName: string, language: string, imageType: string, imagePath: string): Promise; /** * Delete all images of a specific type for a language. */ deleteAllImages(packageName: string, language: string, imageType: string): Promise; /** * Get app details (basically just verifies the app exists and returns edit info). */ getAppDetails(packageName: string): Promise<{ packageName: string; listings: IPlayStoreListing[]; tracks: IPlayStoreTrack[]; }>; writeKeyToProject(projectDir: string): string; copyKeyToProject(jsonKeyPath: string, projectDir: string): string; } export declare const playStoreService: PlayStoreService; //# sourceMappingURL=playstore.d.ts.map