import { ApiError } from "@promobase/sdk-runtime"; export declare class TikTokApiError extends ApiError { readonly code: number; readonly requestId: string; constructor(opts: { message: string; status: number; code: number; requestId: string; }); /** Whether this error indicates rate limiting. */ get isRateLimited(): boolean; /** Whether this error is a transient server error that could be retried. */ get isTransient(): boolean; /** Whether this is an authentication/token error. */ get isAuthError(): boolean; /** Whether this is a publish rate limit (6/min or 15/day). */ get isPublishRateLimited(): boolean; static fromResponse(status: number, body: unknown): TikTokApiError; } //# sourceMappingURL=errors.d.ts.map