import { GraphOperation } from './graphqlService'; export interface CollapseOptions { safeKeyMerging: boolean; } /** * There are a few assumptions that enable this algorithm to work: * 1: All source operations are in of themselves type safe and arguments contain keys that are valid for the operation * 2: All source operations are ordered correctly by time of operation, i.e the UID of a deleted record will never * be referenced following its deletion as it no longer exists in state. * 3: There are no validations beyond those of the type safe arguments that require keys to be saved in * a specific order. The merging of arguments may break these contraints. */ export declare function collapseGraphQlOperations(operations: GraphOperation[], collapseOptions?: CollapseOptions): GraphOperation[]; //# sourceMappingURL=eventCollapse.d.ts.map