import { RequestConfig } from '../requestConfig'; import { IsoTime } from '../types/primitives'; export interface CreatePaymentResponse { success: { createdAt: IsoTime; objectId: string; }; } type Options = { groupId: string; payer: string; amount: number; profiteer: string; date?: Date; currencyCode?: string; }; export declare function createPayment(config: RequestConfig, options: Options): { readonly id: "createPayment"; readonly path: "/parse/classes/Entry"; readonly method: "POST"; readonly body: { readonly category: { readonly __op: "Delete"; }; readonly UpdateInstallationID: string; readonly GlobalId: string; readonly title: { readonly __op: "Delete"; }; readonly secondaryPayers: { readonly __op: "Delete"; }; readonly notes: { readonly __op: "Delete"; }; readonly primaryPayer: string; readonly date: { __type: string; iso: string; }; readonly createdGlobally: { readonly __type: "Date"; readonly iso: string; }; readonly isDeleted: false; readonly group: { readonly __type: "Pointer"; readonly className: "_User"; readonly objectId: string; }; readonly items: readonly [{ readonly T: ""; readonly AM: number; readonly P: { readonly PT: 0; readonly P: { readonly [x: string]: 1; }; }; }]; readonly isPayment: true; readonly UpdateID: string; readonly currencyCode: string; }; }; export {};