import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { Tag } from "./tag"; /** * * A query represents a search of pieces by tags. * * @generated from protobuf message pb.Query */ export interface Query { /** * The ID of the bucket to search. * * @generated from protobuf field: uint32 bucketId = 1; */ bucketId: number; /** * A list of tags to match against the tags of stored pieces. * There can be multiple tags with the same key. * * @generated from protobuf field: repeated pb.Tag tags = 2; */ tags: Tag[]; /** * Skip piece data in search result. * * @generated from protobuf field: bool skipData = 3; */ skipData: boolean; } declare class Query$Type extends MessageType { constructor(); create(value?: PartialMessage): Query; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Query): Query; internalBinaryWrite(message: Query, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message pb.Query */ export declare const Query: Query$Type; export {}; //# sourceMappingURL=query.d.ts.map