import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
export declare const protobufPackage = "sgnl24.DevConsole";
export interface PingPong {
}
export interface WriteByteStream {
    chunk: Uint8Array;
}
export interface FinishByteStream {
}
export interface DestroyByteStream {
    error?: string | undefined;
}
export interface ByteStreamOperation {
    streamId: number;
    write?: WriteByteStream | undefined;
    finish?: FinishByteStream | undefined;
    destroy?: DestroyByteStream | undefined;
}
export interface TraceContext {
    traceId: string;
    spanId: string;
    traceFlags: number;
}
export interface DEventRequest {
    type: string;
    jsonData: string;
}
export interface DEventResponse {
}
export interface UReplEvalRequest {
    code: string;
}
export interface UReplEvalResponse {
    output: string;
    error?: string | undefined;
}
export interface UReplCompleteRequest {
    code: string;
    cursorPos: number;
}
export interface UReplCompleteItem {
    label: string;
    kind: string;
}
export interface UReplCompleteResponse {
    items: UReplCompleteItem[];
    replaceStart: number;
    replaceEnd: number;
}
export interface UGetOverviewRequest {
}
export interface UGetOverviewResponse {
    name: string;
    version: string;
    uptime: number;
    env: string;
    httpEntries: number;
    srpcMessages: number;
    srpcActiveConnections: number;
    srpcDisconnected: number;
}
export interface UGetProcessRequest {
}
export interface UGetProcessResponse {
    pid: number;
    rss: number;
    heapTotal: number;
    heapUsed: number;
    external: number;
    arrayBuffers: number;
    cpuUser: number;
    cpuSystem: number;
    uptime: number;
    nodeVersion: string;
    platform: string;
    arch: string;
}
export interface UGetEnvRequest {
}
export interface UGetEnvResponse {
    jsonData: string;
}
export interface UGetRequestsRequest {
}
export interface UGetRequestsResponse {
    jsonData: string;
}
export interface UGetRoutesRequest {
}
export interface UGetRoutesRoute {
    methods: string[];
    path: string;
    controller?: string | undefined;
    methodName?: string | undefined;
}
export interface UGetRoutesResponse {
    routes: UGetRoutesRoute[];
}
export interface UGetSrpcRequest {
}
export interface UGetSrpcResponse {
    jsonData: string;
}
export interface UGetSrpcMessagesRequest {
    streamId?: string | undefined;
}
export interface UGetSrpcMessagesResponse {
    jsonData: string;
}
export interface UGetWorkersRequest {
}
export interface UGetWorkersResponse {
    jsonData: string;
}
export interface UGetWorkersJobsRequest {
}
export interface UGetWorkersJobsResponse {
    jsonData: string;
}
export interface UGetDatabaseEntitiesRequest {
}
export interface UGetDatabaseEntity {
    name: string;
    table: string;
    columns: string[];
    quotedTable: string;
}
export interface UGetDatabaseEntitiesResponse {
    entities: UGetDatabaseEntity[];
}
export interface UDatabaseQueryRequest {
    sql: string;
}
export interface UDatabaseQueryRow {
    values: string[];
}
export interface UDatabaseQueryResponse {
    columns: string[];
    rows: UDatabaseQueryRow[];
    rowCount: number;
    affectedRows?: number | undefined;
    error?: string | undefined;
}
export interface UGetHealthChecksRequest {
}
export interface UGetHealthChecksResponse {
    jsonData: string;
}
export interface UClearRequestsRequest {
}
export interface UClearRequestsResponse {
}
export interface UClearSrpcMessagesRequest {
}
export interface UClearSrpcMessagesResponse {
}
export interface UGetDatabaseQueriesRequest {
}
export interface UGetDatabaseQueriesResponse {
    jsonData: string;
}
export interface UClearDatabaseQueriesRequest {
}
export interface UClearDatabaseQueriesResponse {
}
export interface UGetMutexesRequest {
}
export interface UGetMutexesResponse {
    jsonData: string;
}
export interface DevConsoleClientMessage {
    requestId: string;
    reply: boolean;
    error?: string | undefined;
    userError?: boolean | undefined;
    trace?: TraceContext | undefined;
    /** framework */
    pingPong?: PingPong | undefined;
    byteStreamOperation?: ByteStreamOperation | undefined;
    /** downstream responses (responding to server) */
    dEventResponse?: DEventResponse | undefined;
    /** upstream requests (client-initiated) */
    uReplEvalRequest?: UReplEvalRequest | undefined;
    uReplCompleteRequest?: UReplCompleteRequest | undefined;
    uGetOverviewRequest?: UGetOverviewRequest | undefined;
    uGetProcessRequest?: UGetProcessRequest | undefined;
    uGetEnvRequest?: UGetEnvRequest | undefined;
    uGetRequestsRequest?: UGetRequestsRequest | undefined;
    uGetRoutesRequest?: UGetRoutesRequest | undefined;
    uGetSrpcRequest?: UGetSrpcRequest | undefined;
    uGetSrpcMessagesRequest?: UGetSrpcMessagesRequest | undefined;
    uGetWorkersRequest?: UGetWorkersRequest | undefined;
    uGetWorkersJobsRequest?: UGetWorkersJobsRequest | undefined;
    uGetDatabaseEntitiesRequest?: UGetDatabaseEntitiesRequest | undefined;
    uDatabaseQueryRequest?: UDatabaseQueryRequest | undefined;
    uGetHealthChecksRequest?: UGetHealthChecksRequest | undefined;
    uGetMutexesRequest?: UGetMutexesRequest | undefined;
    uClearRequestsRequest?: UClearRequestsRequest | undefined;
    uClearSrpcMessagesRequest?: UClearSrpcMessagesRequest | undefined;
    uGetDatabaseQueriesRequest?: UGetDatabaseQueriesRequest | undefined;
    uClearDatabaseQueriesRequest?: UClearDatabaseQueriesRequest | undefined;
}
export interface DevConsoleServerMessage {
    requestId: string;
    reply: boolean;
    error?: string | undefined;
    userError?: boolean | undefined;
    trace?: TraceContext | undefined;
    /** framework */
    pingPong?: PingPong | undefined;
    byteStreamOperation?: ByteStreamOperation | undefined;
    /** downstream requests (server-initiated) */
    dEventRequest?: DEventRequest | undefined;
    /** upstream responses (replies to client) */
    uReplEvalResponse?: UReplEvalResponse | undefined;
    uReplCompleteResponse?: UReplCompleteResponse | undefined;
    uGetOverviewResponse?: UGetOverviewResponse | undefined;
    uGetProcessResponse?: UGetProcessResponse | undefined;
    uGetEnvResponse?: UGetEnvResponse | undefined;
    uGetRequestsResponse?: UGetRequestsResponse | undefined;
    uGetRoutesResponse?: UGetRoutesResponse | undefined;
    uGetSrpcResponse?: UGetSrpcResponse | undefined;
    uGetSrpcMessagesResponse?: UGetSrpcMessagesResponse | undefined;
    uGetWorkersResponse?: UGetWorkersResponse | undefined;
    uGetWorkersJobsResponse?: UGetWorkersJobsResponse | undefined;
    uGetDatabaseEntitiesResponse?: UGetDatabaseEntitiesResponse | undefined;
    uDatabaseQueryResponse?: UDatabaseQueryResponse | undefined;
    uGetHealthChecksResponse?: UGetHealthChecksResponse | undefined;
    uGetMutexesResponse?: UGetMutexesResponse | undefined;
    uClearRequestsResponse?: UClearRequestsResponse | undefined;
    uClearSrpcMessagesResponse?: UClearSrpcMessagesResponse | undefined;
    uGetDatabaseQueriesResponse?: UGetDatabaseQueriesResponse | undefined;
    uClearDatabaseQueriesResponse?: UClearDatabaseQueriesResponse | undefined;
}
export declare const PingPong: MessageFns<PingPong>;
export declare const WriteByteStream: MessageFns<WriteByteStream>;
export declare const FinishByteStream: MessageFns<FinishByteStream>;
export declare const DestroyByteStream: MessageFns<DestroyByteStream>;
export declare const ByteStreamOperation: MessageFns<ByteStreamOperation>;
export declare const TraceContext: MessageFns<TraceContext>;
export declare const DEventRequest: MessageFns<DEventRequest>;
export declare const DEventResponse: MessageFns<DEventResponse>;
export declare const UReplEvalRequest: MessageFns<UReplEvalRequest>;
export declare const UReplEvalResponse: MessageFns<UReplEvalResponse>;
export declare const UReplCompleteRequest: MessageFns<UReplCompleteRequest>;
export declare const UReplCompleteItem: MessageFns<UReplCompleteItem>;
export declare const UReplCompleteResponse: MessageFns<UReplCompleteResponse>;
export declare const UGetOverviewRequest: MessageFns<UGetOverviewRequest>;
export declare const UGetOverviewResponse: MessageFns<UGetOverviewResponse>;
export declare const UGetProcessRequest: MessageFns<UGetProcessRequest>;
export declare const UGetProcessResponse: MessageFns<UGetProcessResponse>;
export declare const UGetEnvRequest: MessageFns<UGetEnvRequest>;
export declare const UGetEnvResponse: MessageFns<UGetEnvResponse>;
export declare const UGetRequestsRequest: MessageFns<UGetRequestsRequest>;
export declare const UGetRequestsResponse: MessageFns<UGetRequestsResponse>;
export declare const UGetRoutesRequest: MessageFns<UGetRoutesRequest>;
export declare const UGetRoutesRoute: MessageFns<UGetRoutesRoute>;
export declare const UGetRoutesResponse: MessageFns<UGetRoutesResponse>;
export declare const UGetSrpcRequest: MessageFns<UGetSrpcRequest>;
export declare const UGetSrpcResponse: MessageFns<UGetSrpcResponse>;
export declare const UGetSrpcMessagesRequest: MessageFns<UGetSrpcMessagesRequest>;
export declare const UGetSrpcMessagesResponse: MessageFns<UGetSrpcMessagesResponse>;
export declare const UGetWorkersRequest: MessageFns<UGetWorkersRequest>;
export declare const UGetWorkersResponse: MessageFns<UGetWorkersResponse>;
export declare const UGetWorkersJobsRequest: MessageFns<UGetWorkersJobsRequest>;
export declare const UGetWorkersJobsResponse: MessageFns<UGetWorkersJobsResponse>;
export declare const UGetDatabaseEntitiesRequest: MessageFns<UGetDatabaseEntitiesRequest>;
export declare const UGetDatabaseEntity: MessageFns<UGetDatabaseEntity>;
export declare const UGetDatabaseEntitiesResponse: MessageFns<UGetDatabaseEntitiesResponse>;
export declare const UDatabaseQueryRequest: MessageFns<UDatabaseQueryRequest>;
export declare const UDatabaseQueryRow: MessageFns<UDatabaseQueryRow>;
export declare const UDatabaseQueryResponse: MessageFns<UDatabaseQueryResponse>;
export declare const UGetHealthChecksRequest: MessageFns<UGetHealthChecksRequest>;
export declare const UGetHealthChecksResponse: MessageFns<UGetHealthChecksResponse>;
export declare const UClearRequestsRequest: MessageFns<UClearRequestsRequest>;
export declare const UClearRequestsResponse: MessageFns<UClearRequestsResponse>;
export declare const UClearSrpcMessagesRequest: MessageFns<UClearSrpcMessagesRequest>;
export declare const UClearSrpcMessagesResponse: MessageFns<UClearSrpcMessagesResponse>;
export declare const UGetDatabaseQueriesRequest: MessageFns<UGetDatabaseQueriesRequest>;
export declare const UGetDatabaseQueriesResponse: MessageFns<UGetDatabaseQueriesResponse>;
export declare const UClearDatabaseQueriesRequest: MessageFns<UClearDatabaseQueriesRequest>;
export declare const UClearDatabaseQueriesResponse: MessageFns<UClearDatabaseQueriesResponse>;
export declare const UGetMutexesRequest: MessageFns<UGetMutexesRequest>;
export declare const UGetMutexesResponse: MessageFns<UGetMutexesResponse>;
export declare const DevConsoleClientMessage: MessageFns<DevConsoleClientMessage>;
export declare const DevConsoleServerMessage: MessageFns<DevConsoleServerMessage>;
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & {
    [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
};
export interface MessageFns<T> {
    encode(message: T, writer?: BinaryWriter): BinaryWriter;
    decode(input: BinaryReader | Uint8Array, length?: number): T;
    fromJSON(object: any): T;
    toJSON(message: T): unknown;
    create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
    fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
}
export {};
export declare type __ΩPingPong = any[];
export declare type __ΩWriteByteStream = any[];
export declare type __ΩFinishByteStream = any[];
export declare type __ΩDestroyByteStream = any[];
export declare type __ΩByteStreamOperation = any[];
export declare type __ΩTraceContext = any[];
export declare type __ΩDEventRequest = any[];
export declare type __ΩDEventResponse = any[];
export declare type __ΩUReplEvalRequest = any[];
export declare type __ΩUReplEvalResponse = any[];
export declare type __ΩUReplCompleteRequest = any[];
export declare type __ΩUReplCompleteItem = any[];
export declare type __ΩUReplCompleteResponse = any[];
export declare type __ΩUGetOverviewRequest = any[];
export declare type __ΩUGetOverviewResponse = any[];
export declare type __ΩUGetProcessRequest = any[];
export declare type __ΩUGetProcessResponse = any[];
export declare type __ΩUGetEnvRequest = any[];
export declare type __ΩUGetEnvResponse = any[];
export declare type __ΩUGetRequestsRequest = any[];
export declare type __ΩUGetRequestsResponse = any[];
export declare type __ΩUGetRoutesRequest = any[];
export declare type __ΩUGetRoutesRoute = any[];
export declare type __ΩUGetRoutesResponse = any[];
export declare type __ΩUGetSrpcRequest = any[];
export declare type __ΩUGetSrpcResponse = any[];
export declare type __ΩUGetSrpcMessagesRequest = any[];
export declare type __ΩUGetSrpcMessagesResponse = any[];
export declare type __ΩUGetWorkersRequest = any[];
export declare type __ΩUGetWorkersResponse = any[];
export declare type __ΩUGetWorkersJobsRequest = any[];
export declare type __ΩUGetWorkersJobsResponse = any[];
export declare type __ΩUGetDatabaseEntitiesRequest = any[];
export declare type __ΩUGetDatabaseEntity = any[];
export declare type __ΩUGetDatabaseEntitiesResponse = any[];
export declare type __ΩUDatabaseQueryRequest = any[];
export declare type __ΩUDatabaseQueryRow = any[];
export declare type __ΩUDatabaseQueryResponse = any[];
export declare type __ΩUGetHealthChecksRequest = any[];
export declare type __ΩUGetHealthChecksResponse = any[];
export declare type __ΩUClearRequestsRequest = any[];
export declare type __ΩUClearRequestsResponse = any[];
export declare type __ΩUClearSrpcMessagesRequest = any[];
export declare type __ΩUClearSrpcMessagesResponse = any[];
export declare type __ΩUGetDatabaseQueriesRequest = any[];
export declare type __ΩUGetDatabaseQueriesResponse = any[];
export declare type __ΩUClearDatabaseQueriesRequest = any[];
export declare type __ΩUClearDatabaseQueriesResponse = any[];
export declare type __ΩUGetMutexesRequest = any[];
export declare type __ΩUGetMutexesResponse = any[];
export declare type __ΩDevConsoleClientMessage = any[];
export declare type __ΩDevConsoleServerMessage = any[];
export declare type __ΩDeepPartial = any[];
export declare type __ΩExact = any[];
export declare type __ΩMessageFns = any[];
//# sourceMappingURL=devconsole.d.ts.map