import protobuf from "protobufjs";
export interface CursorProto {
    root: protobuf.Root;
    AvailableModelsRequest: protobuf.Type;
    AvailableModelsResponse: protobuf.Type;
    StreamUnifiedChatRequestWithTools: protobuf.Type;
    StreamUnifiedChatResponseWithTools: protobuf.Type;
}
export declare function loadCursorProto(): Promise<CursorProto>;
export declare function resolveProtoDirectory(): string;
export declare function listProtoFiles(directory: string): string[];
export declare function encodeMessage(type: protobuf.Type, value: Record<string, unknown>): Buffer;
export declare function decodeMessage(type: protobuf.Type, payload: Uint8Array): Record<string, unknown>;
