export declare enum APIErrorCode { ResourceNotFound = "not_found", VALIDATION_ERROR = "validation_error", PERMISSION_REQUIRED = "permission_required" } export type APIErrorPayload = { ok: false; error: APIErrorCode; status: number; message: string; };