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"; /** * * Request structure for API v1 * * @generated from protobuf message pb.Request */ export interface Request { /** * Request body * * @generated from protobuf field: bytes body = 1; */ body: Uint8Array; /** * User public key * * @generated from protobuf field: bytes publicKey = 3; */ publicKey: Uint8Array; /** * User signature sign(CID(HTTP method size + HTTP method + url size + url + varint body size + body + varint sessionId size + sessionId)) * * @generated from protobuf field: bytes signature = 4; */ signature: Uint8Array; /** * The name of the signature scheme (sr25519, ed25519). * Default and recommended value: "" or "sr25519". * * @generated from protobuf field: string scheme = 5; */ scheme: string; /** * The ID of the hashing algorithm as per multiformats/multihash. * Default and recommended value: 0 or 0xb220, meaning blake2b-256. * * @generated from protobuf field: uint64 multiHashType = 6; */ multiHashType: bigint; /** * Session Id * * @generated from protobuf field: bytes sessionId = 7; */ sessionId: Uint8Array; /** * Request ID * * @generated from protobuf field: string requestId = 8; */ requestId: string; } declare class Request$Type extends MessageType { constructor(); create(value?: PartialMessage): Request; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request): Request; internalBinaryWrite(message: Request, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message pb.Request */ export declare const Request: Request$Type; export {}; //# sourceMappingURL=request.d.ts.map