import { HTTPError } from '@segment/actions-core';
export interface RefreshTokenResponse {
    access_token: string;
    scope: string;
    expires_in: number;
    token_type: string;
}
export interface ProfileAPIResponse {
    id: string;
}
export interface AdAccountUserResponse {
    role: string;
}
export interface LinkedInAudiencePayload {
    action: 'ADD' | 'REMOVE';
    userIds: Record<string, string>[];
    firstName?: string;
    lastName?: string;
    title?: string;
    company?: string;
    country?: string;
}
export declare class LinkedInRefreshTokenError extends HTTPError {
    response: Response & {
        data: {
            error: string;
            error_description: string;
        };
    };
}
export declare class LinkedInTestAuthenticationError extends HTTPError {
    response: Response & {
        data: {
            message: string;
        };
    };
}
