import { Command } from '@oclif/core'; import { OAuthCommand } from '@salesforce/b2c-tooling-sdk/cli'; import { type CdnZonesClient } from '@salesforce/b2c-tooling-sdk/clients'; /** * Format API error for display. Used by ECDN call sites that capture the error * but not the response (the SDK's getApiErrorMessage requires both). */ export declare function formatApiError(error: unknown): string; /** * Base command for eCDN operations. * Provides lazy-loaded CDN Zones client. */ export declare abstract class EcdnCommand extends OAuthCommand { private _cdnZonesClient?; private _cdnZonesRwClient?; /** * Get the CDN Zones client (read-only). */ protected getCdnZonesClient(): CdnZonesClient; /** * Get the CDN Zones client (read-write). */ protected getCdnZonesRwClient(): CdnZonesClient; /** * Resolves the SCAPI shortCode + tenantId, raising a uniform user-facing error * if either is missing. Centralized so both client variants stay consistent. */ private requireScapiCoordinates; }