import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
import { Message, proto3 } from "@bufbuild/protobuf";
/**
 * @generated from message ipfsv2.Edit
 */
export declare class Edit extends Message<Edit> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: string name = 2;
     */
    name: string;
    /**
     * @generated from field: repeated ipfsv2.Op ops = 3;
     */
    ops: Op[];
    /**
     * @generated from field: repeated bytes authors = 4;
     */
    authors: Uint8Array[];
    /**
     * @generated from field: optional bytes language = 5;
     */
    language?: Uint8Array;
    constructor(data?: PartialMessage<Edit>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.Edit";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Edit;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Edit;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Edit;
    static equals(a: Edit | PlainMessage<Edit> | undefined, b: Edit | PlainMessage<Edit> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.ImportEdit
 */
export declare class ImportEdit extends Message<ImportEdit> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: string name = 2;
     */
    name: string;
    /**
     * @generated from field: repeated ipfsv2.Op ops = 3;
     */
    ops: Op[];
    /**
     * @generated from field: repeated bytes authors = 4;
     */
    authors: Uint8Array[];
    /**
     * @generated from field: bytes created_by = 5;
     */
    createdBy: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: string created_at = 6;
     */
    createdAt: string;
    /**
     * @generated from field: bytes block_hash = 7;
     */
    blockHash: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: string block_number = 8;
     */
    blockNumber: string;
    /**
     * @generated from field: bytes transaction_hash = 9;
     */
    transactionHash: Uint8Array<ArrayBuffer>;
    constructor(data?: PartialMessage<ImportEdit>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.ImportEdit";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImportEdit;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImportEdit;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImportEdit;
    static equals(a: ImportEdit | PlainMessage<ImportEdit> | undefined, b: ImportEdit | PlainMessage<ImportEdit> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.Import
 */
export declare class Import extends Message<Import> {
    /**
     * these strings are IPFS cids representing the import edit message
     *
     * @generated from field: repeated string edits = 1;
     */
    edits: string[];
    constructor(data?: PartialMessage<Import>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.Import";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Import;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Import;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Import;
    static equals(a: Import | PlainMessage<Import> | undefined, b: Import | PlainMessage<Import> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.IpfsFile
 */
export declare class IpfsFile extends Message<IpfsFile> {
    /**
     * @generated from field: string version = 1;
     */
    version: string;
    /**
     * @generated from oneof ipfsv2.IpfsFile.payload
     */
    payload: {
        /**
         * @generated from field: ipfsv2.Edit add_edit = 2;
         */
        value: Edit;
        case: "addEdit";
    } | {
        /**
         * @generated from field: ipfsv2.Import import_space = 3;
         */
        value: Import;
        case: "importSpace";
    } | {
        /**
         * @generated from field: bytes archive_space = 4;
         */
        value: Uint8Array;
        case: "archiveSpace";
    } | {
        case: undefined;
        value?: undefined;
    };
    constructor(data?: PartialMessage<IpfsFile>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.IpfsFile";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IpfsFile;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IpfsFile;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IpfsFile;
    static equals(a: IpfsFile | PlainMessage<IpfsFile> | undefined, b: IpfsFile | PlainMessage<IpfsFile> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.Op
 */
export declare class Op extends Message<Op> {
    /**
     * @generated from oneof ipfsv2.Op.payload
     */
    payload: {
        /**
         * @generated from field: ipfsv2.Entity update_entity = 1;
         */
        value: Entity;
        case: "updateEntity";
    } | {
        /**
         * @generated from field: bytes delete_entity = 2;
         */
        value: Uint8Array;
        case: "deleteEntity";
    } | {
        /**
         * @generated from field: ipfsv2.Relation create_relation = 3;
         */
        value: Relation;
        case: "createRelation";
    } | {
        /**
         * @generated from field: ipfsv2.RelationUpdate update_relation = 4;
         */
        value: RelationUpdate;
        case: "updateRelation";
    } | {
        /**
         * @generated from field: bytes delete_relation = 5;
         */
        value: Uint8Array;
        case: "deleteRelation";
    } | {
        /**
         * @generated from field: ipfsv2.UnsetEntityValues unset_entity_values = 6;
         */
        value: UnsetEntityValues;
        case: "unsetEntityValues";
    } | {
        /**
         * @generated from field: ipfsv2.UnsetRelationFields unset_relation_fields = 7;
         */
        value: UnsetRelationFields;
        case: "unsetRelationFields";
    } | {
        case: undefined;
        value?: undefined;
    };
    constructor(data?: PartialMessage<Op>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.Op";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Op;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Op;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Op;
    static equals(a: Op | PlainMessage<Op> | undefined, b: Op | PlainMessage<Op> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.UnsetEntityValues
 */
export declare class UnsetEntityValues extends Message<UnsetEntityValues> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: repeated bytes properties = 2;
     */
    properties: Uint8Array[];
    constructor(data?: PartialMessage<UnsetEntityValues>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.UnsetEntityValues";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnsetEntityValues;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnsetEntityValues;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnsetEntityValues;
    static equals(a: UnsetEntityValues | PlainMessage<UnsetEntityValues> | undefined, b: UnsetEntityValues | PlainMessage<UnsetEntityValues> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.Relation
 */
export declare class Relation extends Message<Relation> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: bytes type = 2;
     */
    type: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: bytes from_entity = 3;
     */
    fromEntity: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: optional bytes from_space = 4;
     */
    fromSpace?: Uint8Array;
    /**
     * @generated from field: optional bytes from_version = 5;
     */
    fromVersion?: Uint8Array;
    /**
     * @generated from field: bytes to_entity = 6;
     */
    toEntity: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: optional bytes to_space = 7;
     */
    toSpace?: Uint8Array;
    /**
     * @generated from field: optional bytes to_version = 8;
     */
    toVersion?: Uint8Array;
    /**
     * @generated from field: bytes entity = 9;
     */
    entity: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: optional string position = 10;
     */
    position?: string;
    /**
     * @generated from field: optional bool verified = 11;
     */
    verified?: boolean;
    constructor(data?: PartialMessage<Relation>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.Relation";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Relation;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Relation;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Relation;
    static equals(a: Relation | PlainMessage<Relation> | undefined, b: Relation | PlainMessage<Relation> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.RelationUpdate
 */
export declare class RelationUpdate extends Message<RelationUpdate> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: optional bytes from_space = 2;
     */
    fromSpace?: Uint8Array;
    /**
     * @generated from field: optional bytes from_version = 3;
     */
    fromVersion?: Uint8Array;
    /**
     * @generated from field: optional bytes to_space = 4;
     */
    toSpace?: Uint8Array;
    /**
     * @generated from field: optional bytes to_version = 5;
     */
    toVersion?: Uint8Array;
    /**
     * @generated from field: optional string position = 6;
     */
    position?: string;
    /**
     * @generated from field: optional bool verified = 7;
     */
    verified?: boolean;
    constructor(data?: PartialMessage<RelationUpdate>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.RelationUpdate";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RelationUpdate;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RelationUpdate;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RelationUpdate;
    static equals(a: RelationUpdate | PlainMessage<RelationUpdate> | undefined, b: RelationUpdate | PlainMessage<RelationUpdate> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.UnsetRelationFields
 */
export declare class UnsetRelationFields extends Message<UnsetRelationFields> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: optional bool from_space = 2;
     */
    fromSpace?: boolean;
    /**
     * @generated from field: optional bool from_version = 3;
     */
    fromVersion?: boolean;
    /**
     * @generated from field: optional bool to_space = 4;
     */
    toSpace?: boolean;
    /**
     * @generated from field: optional bool to_version = 5;
     */
    toVersion?: boolean;
    /**
     * @generated from field: optional bool position = 6;
     */
    position?: boolean;
    /**
     * @generated from field: optional bool verified = 7;
     */
    verified?: boolean;
    constructor(data?: PartialMessage<UnsetRelationFields>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.UnsetRelationFields";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UnsetRelationFields;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UnsetRelationFields;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UnsetRelationFields;
    static equals(a: UnsetRelationFields | PlainMessage<UnsetRelationFields> | undefined, b: UnsetRelationFields | PlainMessage<UnsetRelationFields> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.Entity
 */
export declare class Entity extends Message<Entity> {
    /**
     * @generated from field: bytes id = 1;
     */
    id: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: repeated ipfsv2.Value values = 2;
     */
    values: Value[];
    constructor(data?: PartialMessage<Entity>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.Entity";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Entity;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Entity;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Entity;
    static equals(a: Entity | PlainMessage<Entity> | undefined, b: Entity | PlainMessage<Entity> | undefined): boolean;
}
/**
 * @generated from message ipfsv2.Value
 */
export declare class Value extends Message<Value> {
    /**
     * @generated from field: bytes property_id = 1;
     */
    propertyId: Uint8Array<ArrayBuffer>;
    /**
     * @generated from field: string value = 2;
     */
    value: string;
    constructor(data?: PartialMessage<Value>);
    static readonly runtime: typeof proto3;
    static readonly typeName = "ipfsv2.Value";
    static readonly fields: FieldList;
    static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Value;
    static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Value;
    static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Value;
    static equals(a: Value | PlainMessage<Value> | undefined, b: Value | PlainMessage<Value> | undefined): boolean;
}
//# sourceMappingURL=ipfsv2_pb.d.ts.map