import { AuthCredentials } from '../types/auth'; /** * This function handles the authentication process with the Dressipi API. * It uses the PKCE (Proof Key for Code Exchange) flow to securely authenticate * the user and obtain an access token. * * @param {string} clientId - The client ID for the Dressipi API. * @param {string} domain - The domain of the Dressipi API. * @returns {Promise} - A promise that resolves to * the authentication credentials. */ export declare const authenticate: (clientId: string, domain: string) => Promise; /** * Refreshes the authentication token using the refresh token. * * @param {AuthCredentials} outdatedCredentials - The current authentication * credentials. * @param {string} clientId - The client ID for the Dressipi API. * @param {string} domain - The domain of the Dressipi API. * @returns {Promise} - A promise that resolves to the new * authentication credentials. */ export declare const refreshToken: (outdatedCredentials: AuthCredentials, clientId: string, domain: string) => Promise;