import { AuthState } from '../types/auth'; import { SecureStorageAdapter } from '../types/keychain'; /** * Custom hook to handle authentication with the Dressipi API. * * @param {string} clientId - The client ID for the Dressipi API. * @param {string} domain - The domain of the Dressipi API. * @param {SecureStorageAdapter} storageAdapter - The storage adapter to use for credentials. * @param {boolean} shouldAuthenticate - Whether authentication should be performed. Defaults to true. * @return {AuthState} An object containing the authentication state. */ export declare const useAuth: (clientId: string, domain: string, storageAdapter: SecureStorageAdapter, shouldAuthenticate?: boolean) => AuthState;