export declare class ReceiptUtility { /** * Extracts a transaction id from an encoded App Receipt. Throws if the receipt does not match the expected format. * *NO validation* is performed on the receipt, and any data returned should only be used to call the App Store Server API. * @param appReceipt The unmodified app receipt * @returns A transaction id from the array of in-app purchases, null if the receipt contains no in-app purchases */ extractTransactionIdFromAppReceipt(appReceipt: string): string | null; /** * Extracts a transaction id from an encoded transactional receipt. Throws if the receipt does not match the expected format. * *NO validation* is performed on the receipt, and any data returned should only be used to call the App Store Server API. * @param transactionReceipt The unmodified transactionReceipt * @return A transaction id, or null if no transactionId is found in the receipt */ extractTransactionIdFromTransactionReceipt(transactionReceipt: string): string | null; }