import { Client } from '../client';
import { AssociationPayload, AssociationPayloadWithId, AssociationSyncMode, PayloadWithFromId, AssociationsKey, AssociationsAction } from '../types';
export declare function createAssociationPayloads(payloads: PayloadWithFromId[], key: AssociationsKey): AssociationPayload[][];
export declare function sendAssociatedRecords(client: Client, payloads: AssociationPayload[][], associationSyncMode: AssociationSyncMode): Promise<AssociationPayloadWithId[]>;
export declare function readAssociatedRecords(client: Client, groupedPayloads: AssociationPayload[][]): Promise<AssociationPayloadWithId[]>;
export declare function sendAssociations(client: Client, payloads: AssociationPayloadWithId[], action: AssociationsAction): Promise<void>;
