import { OAuth2ClientCredentials, RefreshAccessTokenResult } from '@segment/actions-core';
import { RequestClient } from '@segment/actions-core';
import { Settings } from '../generated-types';
import { AuthTokens } from '@segment/actions-core/destination-kit/parse-settings';
export interface accessResp {
    access_token: string;
    token_type: string;
    refresh_token: string;
    expires_in: number;
}
export declare let authCreds: OAuth2ClientCredentials;
export declare function getAuthCreds(): OAuth2ClientCredentials;
export declare function getAccessToken(request: RequestClient, settings: Settings): Promise<RefreshAccessTokenResult>;
export declare function doPOST(request: RequestClient, settings: Settings, auth: AuthTokens, body: string, action: string): Promise<string>;
