import { AppStoreConnectAuth } from "./auth.js"; import { ApiResponse } from "./types.js"; export declare class AppStoreConnectClient { private auth; constructor(auth: AppStoreConnectAuth); /** * Make a GET request to the App Store Connect API */ get(endpoint: string, params?: Record): Promise>; /** * Make a POST request to the App Store Connect API */ post(endpoint: string, body: unknown): Promise>; /** * Make a PATCH request to the App Store Connect API */ patch(endpoint: string, body: unknown): Promise>; /** * Make a DELETE request to the App Store Connect API */ delete(endpoint: string): Promise; /** * Get sales reports (returns gzip compressed TSV) */ getSalesReport(params: { frequency: string; reportDate: string; reportSubType: string; reportType: string; vendorNumber: string; version?: string; }): Promise; /** * Get finance reports (returns gzip compressed TSV) */ getFinanceReport(params: { regionCode: string; reportDate: string; reportType: string; vendorNumber: string; }): Promise; /** * Paginate through all results */ getAll(endpoint: string, params?: Record): Promise; /** * Download analytics report segment */ downloadAnalyticsSegment(url: string): Promise; } //# sourceMappingURL=client.d.ts.map