import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import type { CallContext, CallOptions } from "nice-grpc-common"; import { Guid } from "./protobuf-net/bcl"; export declare const protobufPackage = "Cratis.Chronicle.Contracts.Sequences"; export declare enum ClosedStreamOrigin { CompleteStream = 0, ClosingEvent = 1, UNRECOGNIZED = -1 } export declare function closedStreamOriginFromJSON(object: any): ClosedStreamOrigin; export declare function closedStreamOriginToJSON(object: ClosedStreamOrigin): string; export declare enum CompleteStreamError { COMPLETE_STREAM_ERROR_None = 0, AlreadyCompleted = 1, DefaultStreamCannotBeCompleted = 2, EmptyScope = 3, ExpectedTailMismatch = 4, UNRECOGNIZED = -1 } export declare function completeStreamErrorFromJSON(object: any): CompleteStreamError; export declare function completeStreamErrorToJSON(object: CompleteStreamError): string; export declare enum ConstraintType { CONSTRAINT_TYPE_Unknown = 0, Unique = 1, UniqueEventType = 2, Schema = 3, StreamClosed = 4, ClosesStream = 5, UNRECOGNIZED = -1 } export declare function constraintTypeFromJSON(object: any): ConstraintType; export declare function constraintTypeToJSON(object: ConstraintType): string; export declare enum ContentVerificationResult { Unavailable = 0, Equal = 1, Different = 2, UNRECOGNIZED = -1 } export declare function contentVerificationResultFromJSON(object: any): ContentVerificationResult; export declare function contentVerificationResultToJSON(object: ContentVerificationResult): string; export declare enum EffectOutcome { Appended = 0, NoEvents = 1, Refused = 2, UNRECOGNIZED = -1 } export declare function effectOutcomeFromJSON(object: any): EffectOutcome; export declare function effectOutcomeToJSON(object: EffectOutcome): string; export declare enum EventObservationState { EVENT_OBSERVATION_STATE_None = 0, Initial = 1, Replay = 2, UNRECOGNIZED = -1 } export declare function eventObservationStateFromJSON(object: any): EventObservationState; export declare function eventObservationStateToJSON(object: EventObservationState): string; export declare enum HistogramResolution { Minute = 0, Hour = 1, Day = 2, Week = 3, Month = 4, UNRECOGNIZED = -1 } export declare function histogramResolutionFromJSON(object: any): HistogramResolution; export declare function histogramResolutionToJSON(object: HistogramResolution): string; export declare enum IdentityResolution { Resolved = 0, NameUnavailable = 1, Missing = 2, NotSet = 3, IDENTITY_RESOLUTION_System = 4, UNRECOGNIZED = -1 } export declare function identityResolutionFromJSON(object: any): IdentityResolution; export declare function identityResolutionToJSON(object: IdentityResolution): string; export declare enum InitiatorType { INITIATOR_TYPE_Unknown = 0, User = 1, Agent = 2, INITIATOR_TYPE_System = 3, UNRECOGNIZED = -1 } export declare function initiatorTypeFromJSON(object: any): InitiatorType; export declare function initiatorTypeToJSON(object: InitiatorType): string; export declare enum ReopenStreamScopeError { REOPEN_STREAM_SCOPE_ERROR_None = 0, NotCompleted = 1, ClosedByEvent = 2, UNRECOGNIZED = -1 } export declare function reopenStreamScopeErrorFromJSON(object: any): ReopenStreamScopeError; export declare function reopenStreamScopeErrorToJSON(object: ReopenStreamScopeError): string; export declare enum ValidationResultSeverity { VALIDATION_RESULT_SEVERITY_Unknown = 0, Information = 1, Warning = 2, Error = 3, UNRECOGNIZED = -1 } export declare function validationResultSeverityFromJSON(object: any): ValidationResultSeverity; export declare function validationResultSeverityToJSON(object: ValidationResultSeverity): string; export interface AllEventSequencesRequest { EventStore: string; Namespace: string; } export interface AppendManyForEventSourcesRequest { EventStore: string; Namespace: string; EventSequenceId: string; Events: EventForEventSourceId[]; CorrelationId: Guid | undefined; Tags: string[]; Causation: Causation[]; CausedBy: Identity | undefined; ConcurrencyScopes: EventSourceConcurrencyScope[]; EffectReceipt: EffectReceipt | undefined; } export interface AppendManyForEventSourcesWithNamedTagsRequest { EventStore: string; Namespace: string; EventSequenceId: string; Events: EventForEventSourceIdWithNamedTags[]; CorrelationId: Guid | undefined; Tags: string[]; Causation: Causation[]; CausedBy: Identity | undefined; ConcurrencyScopes: EventSourceConcurrencyScope[]; EffectReceipt: EffectReceipt | undefined; } export interface AppendManyRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; Events: EventToAppend[]; CorrelationId: Guid | undefined; Tags: string[]; Causation: Causation[]; CausedBy: Identity | undefined; ConcurrencyScope: ConcurrencyScope | undefined; Occurred: SerializableDateTimeOffset | undefined; EffectReceipt: EffectReceipt | undefined; } export interface AppendManyResponse { CorrelationId: Guid | undefined; SequenceNumbers: bigint[]; IsSuccess: boolean; HasConstraintViolations: boolean; HasConcurrencyViolations: boolean; HasErrors: boolean; ConcurrencyCheckPerformed: boolean; ConstraintViolations: ConstraintViolation[]; Errors: string[]; ConcurrencyViolations: ConcurrencyViolation[]; EffectReceipt: EffectReceiptDetails | undefined; EffectAlreadyRecorded: boolean; } export interface AppendManyWithNamedTagsRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; Events: EventToAppendWithNamedTags[]; CorrelationId: Guid | undefined; Tags: string[]; Occurred: SerializableDateTimeOffset | undefined; Causation: Causation[]; CausedBy: Identity | undefined; ConcurrencyScope: ConcurrencyScope | undefined; EffectReceipt: EffectReceipt | undefined; } export interface AppendRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; EventType: EventType | undefined; Content: string; CorrelationId: Guid | undefined; Tags: string[]; Occurred: SerializableDateTimeOffset | undefined; Subject: string; Causation: Causation[]; CausedBy: Identity | undefined; ConcurrencyScope: ConcurrencyScope | undefined; EventSource: string; EffectReceipt: EffectReceipt | undefined; } export interface AppendResponse { CorrelationId: Guid | undefined; SequenceNumber: bigint; IsSuccess: boolean; HasConstraintViolations: boolean; HasConcurrencyViolations: boolean; HasErrors: boolean; ConcurrencyCheckPerformed: boolean; ConstraintViolations: ConstraintViolation[]; Errors: string[]; ConcurrencyViolation: ConcurrencyViolation | undefined; EffectReceipt: EffectReceiptDetails | undefined; EffectAlreadyRecorded: boolean; } export interface AppendWithNamedTagsRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; EventType: EventType | undefined; Content: string; NamedTags: NamedTag[]; CorrelationId: Guid | undefined; Tags: string[]; Occurred: SerializableDateTimeOffset | undefined; Subject: string; Causation: Causation[]; CausedBy: Identity | undefined; ConcurrencyScope: ConcurrencyScope | undefined; EventSource: string; EffectReceipt: EffectReceipt | undefined; } export interface AppendedEventResponse { Id: string; Context: EventContext | undefined; Content: string; OriginalContent: string; Revisions: EventRevision[]; GenerationalContent: KeyValuePairInt32String[]; RevisedGeneration: number; } export interface AppendedEventsRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; } export interface Causation { Occurred: SerializableDateTimeOffset | undefined; Type: string; Properties: { [key: string]: string; }; } export interface Causation_PropertiesEntry { key: string; value: string; } export interface ClosedStreamResponse { EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; Origin: ClosedStreamOrigin; ClosedBy: string; SequenceNumber: bigint; ClosedAt: SerializableDateTimeOffset | undefined; } export interface ClosedStreamsRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; } export interface CommandResult { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; AuthorizationFailureReason: string; } export interface CommandResultAppendManyResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; AuthorizationFailureReason: string; Response: AppendManyResponse | undefined; } export interface CommandResultAppendResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; AuthorizationFailureReason: string; Response: AppendResponse | undefined; } export interface CommandResultCompleteStreamResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; AuthorizationFailureReason: string; Response: CompleteStreamResponse | undefined; } export interface CommandResultReopenStreamScopeResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; AuthorizationFailureReason: string; Response: ReopenStreamScopeResponse | undefined; } export interface CommandResultVerifyContentResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; AuthorizationFailureReason: string; Response: VerifyContentResponse | undefined; } export interface CompleteStreamRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventStreamType: string; EventStreamId: string; } export interface CompleteStreamResponse { IsSuccess: boolean; SequenceNumber: bigint; Error: CompleteStreamError; } export interface CompleteStreamScopeRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; ExpectedTailSequenceNumber: bigint; } export interface ConcurrencyScope { SequenceNumber: bigint; EventSourceId: boolean; EventStreamType: string; EventStreamId: string; EventSourceType: string; EventTypes: EventType[]; ExpectsNoMatchingEvent: boolean; } export interface ConcurrencyViolation { EventSourceId: string; ExpectedSequenceNumber: bigint; ActualSequenceNumber: bigint; ConflictingEventTypeId: string; ConflictingSequenceNumber: bigint; } export interface ConstraintViolation { EventTypeId: string; SequenceNumber: bigint; ConstraintType: ConstraintType; ConstraintName: string; Message: string; Details: { [key: string]: string; }; } export interface ConstraintViolation_DetailsEntry { key: string; value: string; } export interface EffectReceipt { OccurrenceId: string; EffectKey: string; Epoch: bigint; Response: string; } export interface EffectReceiptDetails { Id: string; OccurrenceId: string; Epoch: bigint; Outcome: EffectOutcome; EventSequenceId: string; FirstSequenceNumber: bigint; LastSequenceNumber: bigint; Reasons: string[]; Response: string; RecordedAt: SerializableDateTimeOffset | undefined; } export interface EndOfRequest { Start: SerializableDateTimeOffset | undefined; Resolution: HistogramResolution; } export interface EventContext { EventType: EventType | undefined; EventSourceType: string; EventSourceId: string; SequenceNumber: bigint; EventStreamType: string; EventStreamId: string; Occurred: SerializableDateTimeOffset | undefined; CorrelationId: Guid | undefined; Causation: Causation[]; CausedBy: Identity | undefined; Tags: string[]; Hash: string; ObservationState: EventObservationState; Subject: string; NamedTags: NamedTag[]; EventSource: string; } export interface EventForEventSourceId { EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; EventType: EventType | undefined; Content: string; Tags: string[]; Occurred: SerializableDateTimeOffset | undefined; Subject: string; Causation: Causation[]; EventSource: string; } export interface EventForEventSourceIdWithNamedTags { EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; EventType: EventType | undefined; Content: string; Tags: string[]; NamedTags: NamedTag[]; Occurred: SerializableDateTimeOffset | undefined; Subject: string; Causation: Causation[]; EventSource: string; } export interface EventMetadataResponse { SequenceNumber: bigint; EventTypeId: string; EventSourceType: string; EventSourceId: string; EventStreamType: string; EventStreamId: string; Occurred: SerializableDateTimeOffset | undefined; CorrelationId: Guid | undefined; Causation: Causation[]; CausedBy: ResolvedIdentity | undefined; InitiatorType: InitiatorType; Tags: string[]; Subject: string; EventSourceName: string; } export interface EventRevision { Generation: number; CorrelationId: string; CausedBy: Identity | undefined; Occurred: SerializableDateTimeOffset | undefined; Content: string; } export interface EventSequenceNamesResponse { Id: string; Name: string; } export interface EventSequenceTailResponse { SequenceNumber: bigint; } export interface EventSourceConcurrencyScope { EventSourceId: string; Scope: ConcurrencyScope | undefined; } export interface EventSourceEventsResponse { HasEvents: boolean; } export interface EventToAppend { EventType: EventType | undefined; Content: string; Subject: string; } export interface EventToAppendWithNamedTags { EventType: EventType | undefined; Content: string; NamedTags: NamedTag[]; Subject: string; } export interface EventType { Id: string; Generation: number; Tombstone: boolean; } export interface ExportEventsRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; CorrelationId: string; EventTypeIds: string; Tags: string; OccurredFrom: SerializableDateTimeOffset | undefined; OccurredTo: SerializableDateTimeOffset | undefined; } export interface ExportedEventResponse { SequenceNumber: bigint; EventType: string; EventSourceType: string; EventSourceId: string; EventStreamType: string; CorrelationId: string; Occurred: SerializableDateTimeOffset | undefined; Tags: string[]; Content: string; NamedTags: NamedTag[]; } export interface ForEventSourceIdAndEventTypesRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventTypeIds: string; EventStreamType: string; EventStreamId: string; EventSourceType: string; } export interface FromSequenceNumberRequest { EventStore: string; Namespace: string; EventSequenceId: string; FromEventSequenceNumber: bigint; EventSourceId: string; EventTypeIds: string; } export interface HasEventsForEventSourceIdRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; } export interface Identity { Subject: string; Name: string; UserName: string; OnBehalfOf: Identity | undefined; } export interface IsStreamScopeCompletedRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; } export interface KeyValuePairInt32String { Key: number; Value: string; } export interface MetadataAtRequest { EventStore: string; Namespace: string; EventSequenceId: string; SequenceNumbers: bigint[]; } export interface NamedTag { Name: string; Value: string; } export interface NamedTagQueryCriterion { Name: string; Values: string[]; AnyValue: boolean; } export interface ParseResolutionRequest { Resolution: string; } export interface QueryEventsRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; CorrelationId: string; EventTypeIds: string; Tags: string; OccurredFrom: SerializableDateTimeOffset | undefined; OccurredTo: SerializableDateTimeOffset | undefined; } export interface QueryEventsWithNamedTagsRequest { EventStore: string; Namespace: string; EventSequenceId: string; NamedTags: NamedTagQueryCriterion[]; EventSourceId: string; EventSourceType: string; EventStreamType: string; CorrelationId: string; EventTypeIds: string; Tags: string; OccurredFrom: SerializableDateTimeOffset | undefined; OccurredTo: SerializableDateTimeOffset | undefined; } export interface QueryResultEventSequenceTailResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: EventSequenceTailResponse | undefined; } export interface QueryResultEventSourceEventsResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: EventSourceEventsResponse | undefined; } export interface QueryResultHistogramResolution { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: HistogramResolution; } export interface QueryResultIEnumerableAppendedEventResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: AppendedEventResponse[]; } export interface QueryResultIEnumerableClosedStreamResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: ClosedStreamResponse[]; } export interface QueryResultIEnumerableEventMetadataResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: EventMetadataResponse[]; } export interface QueryResultIEnumerableEventSequenceNamesResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: EventSequenceNamesResponse[]; } export interface QueryResultIEnumerableExportedEventResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: ExportedEventResponse[]; } export interface QueryResultIEnumerableSequenceHistogramBucketResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: SequenceHistogramBucketResponse[]; } export interface QueryResultSerializableDateTimeOffset { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: SerializableDateTimeOffset | undefined; } export interface QueryResultStreamScopeCompletionResponse { CorrelationId: Guid | undefined; IsAuthorized: boolean; ValidationResults: ValidationResult[]; ExceptionMessages: string[]; ExceptionStackTrace: string; Data: StreamScopeCompletionResponse | undefined; } export interface RedactForEventSourceRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventSourceId: string; Reason: string; EventTypes: string[]; Causation: Causation[]; CausedBy: Identity | undefined; } export interface RedactRequest { EventStore: string; Namespace: string; EventSequenceId: string; SequenceNumber: bigint; Reason: string; Causation: Causation[]; CausedBy: Identity | undefined; } export interface ReopenStreamScopeRequest { EventStore: string; Namespace: string; EventSequenceId: string; Reason: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; EventStreamId: string; Causation: Causation[]; CausedBy: Identity | undefined; } export interface ReopenStreamScopeResponse { IsSuccess: boolean; Error: ReopenStreamScopeError; } export interface ResolvedIdentity { Subject: string; Name: string; UserName: string; Resolution: IdentityResolution; OnBehalfOf: ResolvedIdentity | undefined; } export interface ReviseRequest { EventStore: string; Namespace: string; EventSequenceId: string; SequenceNumber: bigint; EventType: EventType | undefined; Content: string; Causation: Causation[]; CausedBy: Identity | undefined; } export interface SequenceHistogramBucketResponse { From: SerializableDateTimeOffset | undefined; To: SerializableDateTimeOffset | undefined; Count: bigint; } export interface SequenceHistogramRequest { EventStore: string; Namespace: string; EventSequenceId: string; Resolution: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; CorrelationId: string; EventTypeIds: string; Tags: string; OccurredFrom: SerializableDateTimeOffset | undefined; OccurredTo: SerializableDateTimeOffset | undefined; } export interface SequenceHistogramWithNamedTagsRequest { EventStore: string; Namespace: string; EventSequenceId: string; NamedTags: NamedTagQueryCriterion[]; Resolution: string; EventSourceId: string; EventSourceType: string; EventStreamType: string; CorrelationId: string; EventTypeIds: string; Tags: string; OccurredFrom: SerializableDateTimeOffset | undefined; OccurredTo: SerializableDateTimeOffset | undefined; } export interface SerializableDateTimeOffset { Value: string; } export interface StreamScopeCompletionResponse { IsCompleted: boolean; } export interface TailSequenceNumberRequest { EventStore: string; Namespace: string; EventSequenceId: string; EventTypeIds: string; EventSourceId: string; EventSourceType: string; EventStreamId: string; EventStreamType: string; } export interface ValidationResult { Severity: ValidationResultSeverity; Message: string; Members: string[]; } export interface VerifyContentRequest { EventStore: string; Namespace: string; EventSequenceId: string; SequenceNumber: bigint; EventType: EventType | undefined; Content: string; EventSourceId: string; } export interface VerifyContentResponse { Result: ContentVerificationResult; } export declare const AllEventSequencesRequest: MessageFns; export declare const AppendManyForEventSourcesRequest: MessageFns; export declare const AppendManyForEventSourcesWithNamedTagsRequest: MessageFns; export declare const AppendManyRequest: MessageFns; export declare const AppendManyResponse: MessageFns; export declare const AppendManyWithNamedTagsRequest: MessageFns; export declare const AppendRequest: MessageFns; export declare const AppendResponse: MessageFns; export declare const AppendWithNamedTagsRequest: MessageFns; export declare const AppendedEventResponse: MessageFns; export declare const AppendedEventsRequest: MessageFns; export declare const Causation: MessageFns; export declare const Causation_PropertiesEntry: MessageFns; export declare const ClosedStreamResponse: MessageFns; export declare const ClosedStreamsRequest: MessageFns; export declare const CommandResult: MessageFns; export declare const CommandResultAppendManyResponse: MessageFns; export declare const CommandResultAppendResponse: MessageFns; export declare const CommandResultCompleteStreamResponse: MessageFns; export declare const CommandResultReopenStreamScopeResponse: MessageFns; export declare const CommandResultVerifyContentResponse: MessageFns; export declare const CompleteStreamRequest: MessageFns; export declare const CompleteStreamResponse: MessageFns; export declare const CompleteStreamScopeRequest: MessageFns; export declare const ConcurrencyScope: MessageFns; export declare const ConcurrencyViolation: MessageFns; export declare const ConstraintViolation: MessageFns; export declare const ConstraintViolation_DetailsEntry: MessageFns; export declare const EffectReceipt: MessageFns; export declare const EffectReceiptDetails: MessageFns; export declare const EndOfRequest: MessageFns; export declare const EventContext: MessageFns; export declare const EventForEventSourceId: MessageFns; export declare const EventForEventSourceIdWithNamedTags: MessageFns; export declare const EventMetadataResponse: MessageFns; export declare const EventRevision: MessageFns; export declare const EventSequenceNamesResponse: MessageFns; export declare const EventSequenceTailResponse: MessageFns; export declare const EventSourceConcurrencyScope: MessageFns; export declare const EventSourceEventsResponse: MessageFns; export declare const EventToAppend: MessageFns; export declare const EventToAppendWithNamedTags: MessageFns; export declare const EventType: MessageFns; export declare const ExportEventsRequest: MessageFns; export declare const ExportedEventResponse: MessageFns; export declare const ForEventSourceIdAndEventTypesRequest: MessageFns; export declare const FromSequenceNumberRequest: MessageFns; export declare const HasEventsForEventSourceIdRequest: MessageFns; export declare const Identity: MessageFns; export declare const IsStreamScopeCompletedRequest: MessageFns; export declare const KeyValuePairInt32String: MessageFns; export declare const MetadataAtRequest: MessageFns; export declare const NamedTag: MessageFns; export declare const NamedTagQueryCriterion: MessageFns; export declare const ParseResolutionRequest: MessageFns; export declare const QueryEventsRequest: MessageFns; export declare const QueryEventsWithNamedTagsRequest: MessageFns; export declare const QueryResultEventSequenceTailResponse: MessageFns; export declare const QueryResultEventSourceEventsResponse: MessageFns; export declare const QueryResultHistogramResolution: MessageFns; export declare const QueryResultIEnumerableAppendedEventResponse: MessageFns; export declare const QueryResultIEnumerableClosedStreamResponse: MessageFns; export declare const QueryResultIEnumerableEventMetadataResponse: MessageFns; export declare const QueryResultIEnumerableEventSequenceNamesResponse: MessageFns; export declare const QueryResultIEnumerableExportedEventResponse: MessageFns; export declare const QueryResultIEnumerableSequenceHistogramBucketResponse: MessageFns; export declare const QueryResultSerializableDateTimeOffset: MessageFns; export declare const QueryResultStreamScopeCompletionResponse: MessageFns; export declare const RedactForEventSourceRequest: MessageFns; export declare const RedactRequest: MessageFns; export declare const ReopenStreamScopeRequest: MessageFns; export declare const ReopenStreamScopeResponse: MessageFns; export declare const ResolvedIdentity: MessageFns; export declare const ReviseRequest: MessageFns; export declare const SequenceHistogramBucketResponse: MessageFns; export declare const SequenceHistogramRequest: MessageFns; export declare const SequenceHistogramWithNamedTagsRequest: MessageFns; export declare const SerializableDateTimeOffset: MessageFns; export declare const StreamScopeCompletionResponse: MessageFns; export declare const TailSequenceNumberRequest: MessageFns; export declare const ValidationResult: MessageFns; export declare const VerifyContentRequest: MessageFns; export declare const VerifyContentResponse: MessageFns; export type EventSequencesDefinition = typeof EventSequencesDefinition; export declare const EventSequencesDefinition: { readonly name: "EventSequences"; readonly fullName: "Cratis.Chronicle.Contracts.Sequences.EventSequences"; readonly methods: { readonly allEventSequences: { readonly name: "AllEventSequences"; readonly requestType: typeof AllEventSequencesRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableEventSequenceNamesResponse; readonly responseStream: false; readonly options: {}; }; readonly append: { readonly name: "Append"; readonly requestType: typeof AppendRequest; readonly requestStream: false; readonly responseType: typeof CommandResultAppendResponse; readonly responseStream: false; readonly options: {}; }; readonly appendedEvents: { readonly name: "AppendedEvents"; readonly requestType: typeof AppendedEventsRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableAppendedEventResponse; readonly responseStream: false; readonly options: {}; }; readonly appendMany: { readonly name: "AppendMany"; readonly requestType: typeof AppendManyRequest; readonly requestStream: false; readonly responseType: typeof CommandResultAppendManyResponse; readonly responseStream: false; readonly options: {}; }; readonly appendManyForEventSources: { readonly name: "AppendManyForEventSources"; readonly requestType: typeof AppendManyForEventSourcesRequest; readonly requestStream: false; readonly responseType: typeof CommandResultAppendManyResponse; readonly responseStream: false; readonly options: {}; }; readonly appendManyForEventSourcesWithNamedTags: { readonly name: "AppendManyForEventSourcesWithNamedTags"; readonly requestType: typeof AppendManyForEventSourcesWithNamedTagsRequest; readonly requestStream: false; readonly responseType: typeof CommandResultAppendManyResponse; readonly responseStream: false; readonly options: {}; }; readonly appendManyWithNamedTags: { readonly name: "AppendManyWithNamedTags"; readonly requestType: typeof AppendManyWithNamedTagsRequest; readonly requestStream: false; readonly responseType: typeof CommandResultAppendManyResponse; readonly responseStream: false; readonly options: {}; }; readonly appendWithNamedTags: { readonly name: "AppendWithNamedTags"; readonly requestType: typeof AppendWithNamedTagsRequest; readonly requestStream: false; readonly responseType: typeof CommandResultAppendResponse; readonly responseStream: false; readonly options: {}; }; readonly closedStreams: { readonly name: "ClosedStreams"; readonly requestType: typeof ClosedStreamsRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableClosedStreamResponse; readonly responseStream: false; readonly options: {}; }; readonly completeStream: { readonly name: "CompleteStream"; readonly requestType: typeof CompleteStreamRequest; readonly requestStream: false; readonly responseType: typeof CommandResultCompleteStreamResponse; readonly responseStream: false; readonly options: {}; }; readonly completeStreamScope: { readonly name: "CompleteStreamScope"; readonly requestType: typeof CompleteStreamScopeRequest; readonly requestStream: false; readonly responseType: typeof CommandResultCompleteStreamResponse; readonly responseStream: false; readonly options: {}; }; readonly endOf: { readonly name: "EndOf"; readonly requestType: typeof EndOfRequest; readonly requestStream: false; readonly responseType: typeof QueryResultSerializableDateTimeOffset; readonly responseStream: false; readonly options: {}; }; readonly exportEvents: { readonly name: "ExportEvents"; readonly requestType: typeof ExportEventsRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableExportedEventResponse; readonly responseStream: false; readonly options: {}; }; readonly forEventSourceIdAndEventTypes: { readonly name: "ForEventSourceIdAndEventTypes"; readonly requestType: typeof ForEventSourceIdAndEventTypesRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableAppendedEventResponse; readonly responseStream: false; readonly options: {}; }; readonly fromSequenceNumber: { readonly name: "FromSequenceNumber"; readonly requestType: typeof FromSequenceNumberRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableAppendedEventResponse; readonly responseStream: false; readonly options: {}; }; readonly hasEventsForEventSourceId: { readonly name: "HasEventsForEventSourceId"; readonly requestType: typeof HasEventsForEventSourceIdRequest; readonly requestStream: false; readonly responseType: typeof QueryResultEventSourceEventsResponse; readonly responseStream: false; readonly options: {}; }; readonly isStreamScopeCompleted: { readonly name: "IsStreamScopeCompleted"; readonly requestType: typeof IsStreamScopeCompletedRequest; readonly requestStream: false; readonly responseType: typeof QueryResultStreamScopeCompletionResponse; readonly responseStream: false; readonly options: {}; }; readonly metadataAt: { readonly name: "MetadataAt"; readonly requestType: typeof MetadataAtRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableEventMetadataResponse; readonly responseStream: false; readonly options: {}; }; readonly parseResolution: { readonly name: "ParseResolution"; readonly requestType: typeof ParseResolutionRequest; readonly requestStream: false; readonly responseType: typeof QueryResultHistogramResolution; readonly responseStream: false; readonly options: {}; }; readonly queryEvents: { readonly name: "QueryEvents"; readonly requestType: typeof QueryEventsRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableAppendedEventResponse; readonly responseStream: false; readonly options: {}; }; readonly queryEventsWithNamedTags: { readonly name: "QueryEventsWithNamedTags"; readonly requestType: typeof QueryEventsWithNamedTagsRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableAppendedEventResponse; readonly responseStream: false; readonly options: {}; }; readonly redact: { readonly name: "Redact"; readonly requestType: typeof RedactRequest; readonly requestStream: false; readonly responseType: typeof CommandResult; readonly responseStream: false; readonly options: {}; }; readonly redactForEventSource: { readonly name: "RedactForEventSource"; readonly requestType: typeof RedactForEventSourceRequest; readonly requestStream: false; readonly responseType: typeof CommandResult; readonly responseStream: false; readonly options: {}; }; readonly reopenStreamScope: { readonly name: "ReopenStreamScope"; readonly requestType: typeof ReopenStreamScopeRequest; readonly requestStream: false; readonly responseType: typeof CommandResultReopenStreamScopeResponse; readonly responseStream: false; readonly options: {}; }; readonly revise: { readonly name: "Revise"; readonly requestType: typeof ReviseRequest; readonly requestStream: false; readonly responseType: typeof CommandResult; readonly responseStream: false; readonly options: {}; }; readonly sequenceHistogram: { readonly name: "SequenceHistogram"; readonly requestType: typeof SequenceHistogramRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableSequenceHistogramBucketResponse; readonly responseStream: false; readonly options: {}; }; readonly sequenceHistogramWithNamedTags: { readonly name: "SequenceHistogramWithNamedTags"; readonly requestType: typeof SequenceHistogramWithNamedTagsRequest; readonly requestStream: false; readonly responseType: typeof QueryResultIEnumerableSequenceHistogramBucketResponse; readonly responseStream: false; readonly options: {}; }; readonly tailSequenceNumber: { readonly name: "TailSequenceNumber"; readonly requestType: typeof TailSequenceNumberRequest; readonly requestStream: false; readonly responseType: typeof QueryResultEventSequenceTailResponse; readonly responseStream: false; readonly options: {}; }; readonly verifyContent: { readonly name: "VerifyContent"; readonly requestType: typeof VerifyContentRequest; readonly requestStream: false; readonly responseType: typeof CommandResultVerifyContentResponse; readonly responseStream: false; readonly options: {}; }; }; }; export interface EventSequencesServiceImplementation { allEventSequences(request: AllEventSequencesRequest, context: CallContext & CallContextExt): Promise>; append(request: AppendRequest, context: CallContext & CallContextExt): Promise>; appendedEvents(request: AppendedEventsRequest, context: CallContext & CallContextExt): Promise>; appendMany(request: AppendManyRequest, context: CallContext & CallContextExt): Promise>; appendManyForEventSources(request: AppendManyForEventSourcesRequest, context: CallContext & CallContextExt): Promise>; appendManyForEventSourcesWithNamedTags(request: AppendManyForEventSourcesWithNamedTagsRequest, context: CallContext & CallContextExt): Promise>; appendManyWithNamedTags(request: AppendManyWithNamedTagsRequest, context: CallContext & CallContextExt): Promise>; appendWithNamedTags(request: AppendWithNamedTagsRequest, context: CallContext & CallContextExt): Promise>; closedStreams(request: ClosedStreamsRequest, context: CallContext & CallContextExt): Promise>; completeStream(request: CompleteStreamRequest, context: CallContext & CallContextExt): Promise>; completeStreamScope(request: CompleteStreamScopeRequest, context: CallContext & CallContextExt): Promise>; endOf(request: EndOfRequest, context: CallContext & CallContextExt): Promise>; exportEvents(request: ExportEventsRequest, context: CallContext & CallContextExt): Promise>; forEventSourceIdAndEventTypes(request: ForEventSourceIdAndEventTypesRequest, context: CallContext & CallContextExt): Promise>; fromSequenceNumber(request: FromSequenceNumberRequest, context: CallContext & CallContextExt): Promise>; hasEventsForEventSourceId(request: HasEventsForEventSourceIdRequest, context: CallContext & CallContextExt): Promise>; isStreamScopeCompleted(request: IsStreamScopeCompletedRequest, context: CallContext & CallContextExt): Promise>; metadataAt(request: MetadataAtRequest, context: CallContext & CallContextExt): Promise>; parseResolution(request: ParseResolutionRequest, context: CallContext & CallContextExt): Promise>; queryEvents(request: QueryEventsRequest, context: CallContext & CallContextExt): Promise>; queryEventsWithNamedTags(request: QueryEventsWithNamedTagsRequest, context: CallContext & CallContextExt): Promise>; redact(request: RedactRequest, context: CallContext & CallContextExt): Promise>; redactForEventSource(request: RedactForEventSourceRequest, context: CallContext & CallContextExt): Promise>; reopenStreamScope(request: ReopenStreamScopeRequest, context: CallContext & CallContextExt): Promise>; revise(request: ReviseRequest, context: CallContext & CallContextExt): Promise>; sequenceHistogram(request: SequenceHistogramRequest, context: CallContext & CallContextExt): Promise>; sequenceHistogramWithNamedTags(request: SequenceHistogramWithNamedTagsRequest, context: CallContext & CallContextExt): Promise>; tailSequenceNumber(request: TailSequenceNumberRequest, context: CallContext & CallContextExt): Promise>; verifyContent(request: VerifyContentRequest, context: CallContext & CallContextExt): Promise>; } export interface EventSequencesClient { allEventSequences(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; append(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; appendedEvents(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; appendMany(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; appendManyForEventSources(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; appendManyForEventSourcesWithNamedTags(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; appendManyWithNamedTags(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; appendWithNamedTags(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; closedStreams(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; completeStream(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; completeStreamScope(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; endOf(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; exportEvents(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; forEventSourceIdAndEventTypes(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; fromSequenceNumber(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; hasEventsForEventSourceId(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; isStreamScopeCompleted(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; metadataAt(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; parseResolution(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; queryEvents(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; queryEventsWithNamedTags(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; redact(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; redactForEventSource(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; reopenStreamScope(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; revise(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; sequenceHistogram(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; sequenceHistogramWithNamedTags(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; tailSequenceNumber(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; verifyContent(request: DeepPartial, options?: CallOptions & CallOptionsExt): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined; export type DeepPartial = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create(base?: DeepPartial): T; fromPartial(object: DeepPartial): T; } export {}; //# sourceMappingURL=sequences.d.ts.map