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 { Timestamp } from "../google/protobuf/timestamp.js"; /** * PrivateReplsPowerup stores metadata about the Private Repls powerup * * @generated from protobuf message replit.goval.api.PrivateReplsPowerup */ export interface PrivateReplsPowerup { /** * @generated from protobuf field: bool enabled = 1 */ enabled: boolean; } /** * GhostwriterPowerup stores metadata about the Ghostwriter powerup * * @generated from protobuf message replit.goval.api.GhostwriterPowerup */ export interface GhostwriterPowerup { /** * @generated from protobuf field: bool enabled = 1 */ enabled: boolean; } /** * ConnectivityPowerup stores metadata about the Connectivity/SSH powerup * * @generated from protobuf message replit.goval.api.ConnectivityPowerup */ export interface ConnectivityPowerup { /** * @generated from protobuf field: bool enabled = 1 */ enabled: boolean; } /** * PowerUp stores metadata about power-ups. * * @generated from protobuf message replit.goval.api.PowerUp */ export interface PowerUp { /** * Expiry time for the powerup * * @generated from protobuf field: google.protobuf.Timestamp expires_at = 1 */ expiresAt?: Timestamp; /** * @generated from protobuf oneof: powerup */ powerup: { oneofKind: "private"; /** * @generated from protobuf field: replit.goval.api.PrivateReplsPowerup private = 10 */ private: PrivateReplsPowerup; } | { oneofKind: "ghostwriter"; /** * @generated from protobuf field: replit.goval.api.GhostwriterPowerup ghostwriter = 11 */ ghostwriter: GhostwriterPowerup; } | { oneofKind: "connectivity"; /** * @generated from protobuf field: replit.goval.api.ConnectivityPowerup connectivity = 12 */ connectivity: ConnectivityPowerup; } | { oneofKind: undefined; }; } /** * UserPowerUps holds power-up metadata for a user. * * @generated from protobuf message replit.goval.api.UserPowerUps */ export interface UserPowerUps { /** * @generated from protobuf field: uint32 user_id = 1 */ userId: number; /** * @generated from protobuf field: string username = 2 */ username: string; /** * @generated from protobuf field: repeated replit.goval.api.PowerUp powerups = 3 */ powerups: PowerUp[]; } declare class PrivateReplsPowerup$Type extends MessageType { constructor(); create(value?: PartialMessage): PrivateReplsPowerup; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PrivateReplsPowerup): PrivateReplsPowerup; internalBinaryWrite(message: PrivateReplsPowerup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.PrivateReplsPowerup */ export declare const PrivateReplsPowerup: PrivateReplsPowerup$Type; declare class GhostwriterPowerup$Type extends MessageType { constructor(); create(value?: PartialMessage): GhostwriterPowerup; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GhostwriterPowerup): GhostwriterPowerup; internalBinaryWrite(message: GhostwriterPowerup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.GhostwriterPowerup */ export declare const GhostwriterPowerup: GhostwriterPowerup$Type; declare class ConnectivityPowerup$Type extends MessageType { constructor(); create(value?: PartialMessage): ConnectivityPowerup; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConnectivityPowerup): ConnectivityPowerup; internalBinaryWrite(message: ConnectivityPowerup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.ConnectivityPowerup */ export declare const ConnectivityPowerup: ConnectivityPowerup$Type; declare class PowerUp$Type extends MessageType { constructor(); create(value?: PartialMessage): PowerUp; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PowerUp): PowerUp; internalBinaryWrite(message: PowerUp, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.PowerUp */ export declare const PowerUp: PowerUp$Type; declare class UserPowerUps$Type extends MessageType { constructor(); create(value?: PartialMessage): UserPowerUps; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserPowerUps): UserPowerUps; internalBinaryWrite(message: UserPowerUps, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message replit.goval.api.UserPowerUps */ export declare const UserPowerUps: UserPowerUps$Type; export {};