import { PerpsErrorCode } from '@lifi/perps-types'; /** * Error thrown by every SDK code path — backend error responses, transport * failures, and SDK-side validation alike. Carries a {@link PerpsErrorCode} * for programmatic branching and an optional `tool` tag identifying the * originating package. * * @public */ export declare class PerpsError extends Error { code: PerpsErrorCode; name: string; tool?: string; constructor(code?: PerpsErrorCode, message?: string); } //# sourceMappingURL=PerpsError.d.ts.map