import type { ConstraintViolation as WireConstraintViolation } from '@cratis/chronicle.contracts'; import type { AppendResult } from './AppendResult.js'; import type { ConstraintViolation } from './ConstraintViolation.js'; import type { WaitForCompletionOptions } from './WaitForCompletionOptions.js'; import type { WaitForCompletionResult } from './WaitForCompletionResult.js'; import { EventSequenceNumber } from './EventSequenceNumber.js'; /** Map the wire append response for both the connected client and in-process scenarios. */ export declare function createAppendResult(sequenceNumber: bigint, constraintViolations: Array>>, errors: string[], concurrencyViolation: { EventSourceId?: string; ExpectedSequenceNumber?: bigint; ActualSequenceNumber?: bigint; } | undefined, resolveMessage: ((violation: ConstraintViolation) => ConstraintViolation) | undefined, wait: (sequence: EventSequenceNumber, succeeded: boolean, options?: number | WaitForCompletionOptions) => Promise): AppendResult; //# sourceMappingURL=createAppendResult.d.ts.map