import type { Error as ErrorProto } from "@cerbos/api/cerbos/cloud/epdp/v2/epdp_pb";
import type { Code } from "@cerbos/api/google/rpc/code_pb";
export declare class ServerError extends Error {
    readonly code: Code;
    static from({ code, message }: ErrorProto): ServerError;
    constructor(code: Code, message: string, options?: {
        cause?: unknown;
    });
}
//# sourceMappingURL=error.d.ts.map