import { ServiceType } from "@protobuf-ts/runtime-rpc"; 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"; /** * UploadRequest represents the request with profile bytes and description. * * @generated from protobuf message polarsignals.share.UploadRequest */ export interface UploadRequest { /** * pprof bytes of the profile to be uploaded. * * @generated from protobuf field: bytes profile = 1; */ profile: Uint8Array; /** * Description of the profile. * * @generated from protobuf field: string description = 2; */ description: string; } /** * UploadResponse represents the response with the link that can be used to access the profile. * * @generated from protobuf message polarsignals.share.UploadResponse */ export interface UploadResponse { /** * id of the uploaded profile. * * @generated from protobuf field: string id = 1; */ id: string; /** * link that can be used to access the profile. * * @generated from protobuf field: string link = 2; */ link: string; } /** * ProfileRequest represents the request with the id of the profile to be queried. * * @generated from protobuf message polarsignals.share.ProfileRequest */ export interface ProfileRequest { /** * id of the profile to be queried. * * @generated from protobuf field: string id = 1; */ id: string; } declare class UploadRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): UploadRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UploadRequest): UploadRequest; internalBinaryWrite(message: UploadRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message polarsignals.share.UploadRequest */ export declare const UploadRequest: UploadRequest$Type; declare class UploadResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): UploadResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UploadResponse): UploadResponse; internalBinaryWrite(message: UploadResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message polarsignals.share.UploadResponse */ export declare const UploadResponse: UploadResponse$Type; declare class ProfileRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ProfileRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ProfileRequest): ProfileRequest; internalBinaryWrite(message: ProfileRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message polarsignals.share.ProfileRequest */ export declare const ProfileRequest: ProfileRequest$Type; /** * @generated ServiceType for protobuf service polarsignals.share.Share */ export declare const Share: ServiceType; export {}; //# sourceMappingURL=share.d.ts.map