export type FacebookErrorCategory = "auth" | "permission" | "policy_block" | "rate_limit" | "invalid_param" | "transient" | "unknown" | "network"; export interface RawFacebookError { message: string; type: string; code: number; errorSubcode?: number; errorUserTitle?: string; errorUserMsg?: string; fbtraceId?: string; isTransient?: boolean; errorData?: unknown; [key: string]: unknown; } export interface AppUsage { callCount?: number; totalCputime?: number; totalTime?: number; } export interface BusinessUseCaseUsage { type?: string; callCount?: number; totalCputime?: number; totalTime?: number; estimatedTimeToRegainAccess?: number; adsApiAccessTier?: string; } export interface RateLimitUsage { appUsage?: AppUsage; businessUseCaseUsage?: Record; } export interface FacebookErrorContext { method: string; relativeUrl: string; accessToken: string; source: "request" | "batch"; } //# sourceMappingURL=facebookerror.d.ts.map