import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from enum bsync.Method */ export declare enum Method { /** * @generated from enum value: METHOD_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: METHOD_CREATE = 1; */ CREATE = 1, /** * @generated from enum value: METHOD_UPDATE = 2; */ UPDATE = 2, /** * @generated from enum value: METHOD_DELETE = 3; */ DELETE = 3 } /** * @generated from message bsync.MuteOperation */ export declare class MuteOperation extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: bsync.MuteOperation.Type type = 2; */ type: MuteOperation_Type; /** * @generated from field: string actor_did = 3; */ actorDid: string; /** * @generated from field: string subject = 4; */ subject: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.MuteOperation"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MuteOperation; static fromJson(jsonValue: JsonValue, options?: Partial): MuteOperation; static fromJsonString(jsonString: string, options?: Partial): MuteOperation; static equals(a: MuteOperation | PlainMessage | undefined, b: MuteOperation | PlainMessage | undefined): boolean; } /** * @generated from enum bsync.MuteOperation.Type */ export declare enum MuteOperation_Type { /** * @generated from enum value: TYPE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: TYPE_ADD = 1; */ ADD = 1, /** * @generated from enum value: TYPE_REMOVE = 2; */ REMOVE = 2, /** * @generated from enum value: TYPE_CLEAR = 3; */ CLEAR = 3 } /** * @generated from message bsync.AddMuteOperationRequest */ export declare class AddMuteOperationRequest extends Message { /** * @generated from field: bsync.MuteOperation.Type type = 1; */ type: MuteOperation_Type; /** * @generated from field: string actor_did = 2; */ actorDid: string; /** * @generated from field: string subject = 3; */ subject: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.AddMuteOperationRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddMuteOperationRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AddMuteOperationRequest; static fromJsonString(jsonString: string, options?: Partial): AddMuteOperationRequest; static equals(a: AddMuteOperationRequest | PlainMessage | undefined, b: AddMuteOperationRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.AddMuteOperationResponse */ export declare class AddMuteOperationResponse extends Message { /** * @generated from field: bsync.MuteOperation operation = 1; */ operation?: MuteOperation; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.AddMuteOperationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddMuteOperationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AddMuteOperationResponse; static fromJsonString(jsonString: string, options?: Partial): AddMuteOperationResponse; static equals(a: AddMuteOperationResponse | PlainMessage | undefined, b: AddMuteOperationResponse | PlainMessage | undefined): boolean; } /** * @generated from message bsync.ScanMuteOperationsRequest */ export declare class ScanMuteOperationsRequest extends Message { /** * @generated from field: string cursor = 1; */ cursor: string; /** * @generated from field: int32 limit = 2; */ limit: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.ScanMuteOperationsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ScanMuteOperationsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ScanMuteOperationsRequest; static fromJsonString(jsonString: string, options?: Partial): ScanMuteOperationsRequest; static equals(a: ScanMuteOperationsRequest | PlainMessage | undefined, b: ScanMuteOperationsRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.ScanMuteOperationsResponse */ export declare class ScanMuteOperationsResponse extends Message { /** * @generated from field: repeated bsync.MuteOperation operations = 1; */ operations: MuteOperation[]; /** * @generated from field: string cursor = 2; */ cursor: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.ScanMuteOperationsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ScanMuteOperationsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ScanMuteOperationsResponse; static fromJsonString(jsonString: string, options?: Partial): ScanMuteOperationsResponse; static equals(a: ScanMuteOperationsResponse | PlainMessage | undefined, b: ScanMuteOperationsResponse | PlainMessage | undefined): boolean; } /** * @generated from message bsync.NotifOperation */ export declare class NotifOperation extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string actor_did = 2; */ actorDid: string; /** * @generated from field: optional bool priority = 3; */ priority?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.NotifOperation"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NotifOperation; static fromJson(jsonValue: JsonValue, options?: Partial): NotifOperation; static fromJsonString(jsonString: string, options?: Partial): NotifOperation; static equals(a: NotifOperation | PlainMessage | undefined, b: NotifOperation | PlainMessage | undefined): boolean; } /** * @generated from message bsync.AddNotifOperationRequest */ export declare class AddNotifOperationRequest extends Message { /** * @generated from field: string actor_did = 1; */ actorDid: string; /** * @generated from field: optional bool priority = 2; */ priority?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.AddNotifOperationRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddNotifOperationRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AddNotifOperationRequest; static fromJsonString(jsonString: string, options?: Partial): AddNotifOperationRequest; static equals(a: AddNotifOperationRequest | PlainMessage | undefined, b: AddNotifOperationRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.AddNotifOperationResponse */ export declare class AddNotifOperationResponse extends Message { /** * @generated from field: bsync.NotifOperation operation = 1; */ operation?: NotifOperation; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.AddNotifOperationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddNotifOperationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AddNotifOperationResponse; static fromJsonString(jsonString: string, options?: Partial): AddNotifOperationResponse; static equals(a: AddNotifOperationResponse | PlainMessage | undefined, b: AddNotifOperationResponse | PlainMessage | undefined): boolean; } /** * @generated from message bsync.ScanNotifOperationsRequest */ export declare class ScanNotifOperationsRequest extends Message { /** * @generated from field: string cursor = 1; */ cursor: string; /** * @generated from field: int32 limit = 2; */ limit: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.ScanNotifOperationsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ScanNotifOperationsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ScanNotifOperationsRequest; static fromJsonString(jsonString: string, options?: Partial): ScanNotifOperationsRequest; static equals(a: ScanNotifOperationsRequest | PlainMessage | undefined, b: ScanNotifOperationsRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.ScanNotifOperationsResponse */ export declare class ScanNotifOperationsResponse extends Message { /** * @generated from field: repeated bsync.NotifOperation operations = 1; */ operations: NotifOperation[]; /** * @generated from field: string cursor = 2; */ cursor: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.ScanNotifOperationsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ScanNotifOperationsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ScanNotifOperationsResponse; static fromJsonString(jsonString: string, options?: Partial): ScanNotifOperationsResponse; static equals(a: ScanNotifOperationsResponse | PlainMessage | undefined, b: ScanNotifOperationsResponse | PlainMessage | undefined): boolean; } /** * @generated from message bsync.Operation */ export declare class Operation extends Message { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string actor_did = 2; */ actorDid: string; /** * @generated from field: string namespace = 3; */ namespace: string; /** * @generated from field: string key = 4; */ key: string; /** * @generated from field: bsync.Method method = 5; */ method: Method; /** * @generated from field: bytes payload = 6; */ payload: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.Operation"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Operation; static fromJson(jsonValue: JsonValue, options?: Partial): Operation; static fromJsonString(jsonString: string, options?: Partial): Operation; static equals(a: Operation | PlainMessage | undefined, b: Operation | PlainMessage | undefined): boolean; } /** * @generated from message bsync.PutOperationRequest */ export declare class PutOperationRequest extends Message { /** * @generated from field: string actor_did = 1; */ actorDid: string; /** * @generated from field: string namespace = 2; */ namespace: string; /** * @generated from field: string key = 3; */ key: string; /** * @generated from field: bsync.Method method = 4; */ method: Method; /** * @generated from field: bytes payload = 5; */ payload: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.PutOperationRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PutOperationRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PutOperationRequest; static fromJsonString(jsonString: string, options?: Partial): PutOperationRequest; static equals(a: PutOperationRequest | PlainMessage | undefined, b: PutOperationRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.PutOperationResponse */ export declare class PutOperationResponse extends Message { /** * @generated from field: bsync.Operation operation = 1; */ operation?: Operation; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.PutOperationResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PutOperationResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PutOperationResponse; static fromJsonString(jsonString: string, options?: Partial): PutOperationResponse; static equals(a: PutOperationResponse | PlainMessage | undefined, b: PutOperationResponse | PlainMessage | undefined): boolean; } /** * @generated from message bsync.ScanOperationsRequest */ export declare class ScanOperationsRequest extends Message { /** * @generated from field: string cursor = 1; */ cursor: string; /** * @generated from field: int32 limit = 2; */ limit: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.ScanOperationsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ScanOperationsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ScanOperationsRequest; static fromJsonString(jsonString: string, options?: Partial): ScanOperationsRequest; static equals(a: ScanOperationsRequest | PlainMessage | undefined, b: ScanOperationsRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.ScanOperationsResponse */ export declare class ScanOperationsResponse extends Message { /** * @generated from field: repeated bsync.Operation operations = 1; */ operations: Operation[]; /** * @generated from field: string cursor = 2; */ cursor: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.ScanOperationsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ScanOperationsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ScanOperationsResponse; static fromJsonString(jsonString: string, options?: Partial): ScanOperationsResponse; static equals(a: ScanOperationsResponse | PlainMessage | undefined, b: ScanOperationsResponse | PlainMessage | undefined): boolean; } /** * @generated from message bsync.DeleteOperationsByActorAndNamespaceRequest */ export declare class DeleteOperationsByActorAndNamespaceRequest extends Message { /** * @generated from field: string actor_did = 1; */ actorDid: string; /** * @generated from field: string namespace = 2; */ namespace: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.DeleteOperationsByActorAndNamespaceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteOperationsByActorAndNamespaceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteOperationsByActorAndNamespaceRequest; static fromJsonString(jsonString: string, options?: Partial): DeleteOperationsByActorAndNamespaceRequest; static equals(a: DeleteOperationsByActorAndNamespaceRequest | PlainMessage | undefined, b: DeleteOperationsByActorAndNamespaceRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.DeleteOperationsByActorAndNamespaceResponse */ export declare class DeleteOperationsByActorAndNamespaceResponse extends Message { /** * @generated from field: int32 deleted_count = 1; */ deletedCount: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.DeleteOperationsByActorAndNamespaceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DeleteOperationsByActorAndNamespaceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): DeleteOperationsByActorAndNamespaceResponse; static fromJsonString(jsonString: string, options?: Partial): DeleteOperationsByActorAndNamespaceResponse; static equals(a: DeleteOperationsByActorAndNamespaceResponse | PlainMessage | undefined, b: DeleteOperationsByActorAndNamespaceResponse | PlainMessage | undefined): boolean; } /** * Ping * * @generated from message bsync.PingRequest */ export declare class PingRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.PingRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PingRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PingRequest; static fromJsonString(jsonString: string, options?: Partial): PingRequest; static equals(a: PingRequest | PlainMessage | undefined, b: PingRequest | PlainMessage | undefined): boolean; } /** * @generated from message bsync.PingResponse */ export declare class PingResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "bsync.PingResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PingResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PingResponse; static fromJsonString(jsonString: string, options?: Partial): PingResponse; static equals(a: PingResponse | PlainMessage | undefined, b: PingResponse | PlainMessage | undefined): boolean; } //# sourceMappingURL=bsync_pb.d.ts.map