import { TiktokConfig } from '../../dto/request/config.request'; import { TiktokResponseAccessToken, TiktokResponseAuthorized, TiktokResponseRefreshToken } from '../../dto/response/config.response'; /** * Generate a TikTok Shop seller authorization URL. * * Docs use: * - non-US: https://services.tiktokshop.com/open/authorize * - US: https://services.us.tiktokshop.com/open/authorize * - required query: service_id * - optional query: state */ export declare function generateAuthLink(serviceId: string, state?: string, useUsDomain?: boolean): { url: string; serviceId: string; state: string | undefined; }; /** * @param config - Tiktok API configuration. * @returns {Promise} - Response of get authorized shop. */ export declare function getAuthorizedShop(config: TiktokConfig): Promise; /** * @param config - Tiktok API configuration. * @returns {Promise} - Response of refreshing token. */ export declare function refreshToken(config: TiktokConfig): Promise; /** * * @param authCode * @param config * @returns */ export declare function fetchTokenWithAuthCode(authCode: string, config: TiktokConfig): Promise;