UNPKG

gplayapi-ts

Version:
15 lines (11 loc) 702 B
import { ResponseWrapper } from '../gen_proto/googleplay_pb.js'; import '@bufbuild/protobuf'; /** * Response parsing utilities for Google Play API */ declare function parseResponse(response: string): Record<string, string>; declare function unmarshalResponseWrapper(data: Buffer): Promise<ResponseWrapper>; declare function marshalRequest(request: ResponseWrapper): Promise<Buffer>; declare function createAuthParams(gsfId?: string, sdkVersion?: number, email?: string, googleServices?: number): URLSearchParams; declare function setOAuthParams(params: URLSearchParams, aasToken: string): void; export { createAuthParams, marshalRequest, parseResponse, setOAuthParams, unmarshalResponseWrapper };