import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = ""; export interface ErrorResponse { errorDescription: string; code: ErrorResponse_Code; } /** * Typed code so clients can react without parsing the description. * Producers SHOULD emit a specific code when applicable; UNSPECIFIED * remains backwards-compatible for callers that don't yet care. */ export declare enum ErrorResponse_Code { UNSPECIFIED = 0, /** NOT_FOUND - file or resource missing */ NOT_FOUND = 1, /** INVALID_ARGUMENT - malformed request payload */ INVALID_ARGUMENT = 2, /** OUT_OF_RANGE - seek beyond file, speed out of bounds, ... */ OUT_OF_RANGE = 3, /** INVALID_STATE - wrong state for the operation (e.g. pause when STOPPED) */ INVALID_STATE = 4, /** PERMISSION_DENIED - path escapes base directory, lock-down rules */ PERMISSION_DENIED = 5, /** IO_FAILURE - read/write fault on disk, network, etc. */ IO_FAILURE = 6, /** UNAVAILABLE - backend / dependency not ready */ UNAVAILABLE = 7, /** INTERNAL - unhandled exception */ INTERNAL = 8, UNRECOGNIZED = -1 } export declare function errorResponse_CodeFromJSON(object: any): ErrorResponse_Code; export declare function errorResponse_CodeToJSON(object: ErrorResponse_Code): string; export declare const ErrorResponse: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {};