import { TokenRequestParams } from './shared.js'; /** * Gets an authorization token from Smile. Used in Hosted Web Integration. * @param {string} partner_id - The partner ID. * @param {string} api_key - Your Smile API key. * @param {string} url - The URL to the Smile ID API. * @param {{ * callback_url: string, * user_id: string, * job_id: string, * product: string, * }} requestParams - parameters required to get an authorization token. * @param {string|undefined} defaultCallback - Your default callback URL. * @returns {Promise<{ * token: string, * }>} - The authorization token. * @throws {Error} - if the request fails. */ export declare const getWebToken: (partner_id: string, api_key: string, url: string, requestParams: TokenRequestParams, defaultCallback: string) => Promise<{ token: string; }>;