import type { Message } from "google-protobuf"; import type { ServiceError } from "@grpc/grpc-js"; import { Status } from './google/rpc/status_pb'; declare class StatusWrapper { readonly status: Status; constructor(status: Status); parseDetails: (deserializer: BinaryDeserializer) => T[]; } interface BinaryDeserializer { deserializeBinary(bytes: Uint8Array): T; } export declare const parse: (e: ServiceError) => StatusWrapper | undefined; export {};