import { HttpService } from '../services/HttpService';
import { State } from '../state';
export interface HatAuth {
    generateHatLoginUrl: (hatDomain: string, application: string, redirect: string, fallback: string) => string;
    isDomainRegistered: (hatUrl: string) => Promise<boolean>;
    signOut: () => void;
    getHatDomain: () => string;
    getToken: () => string | undefined;
    isTokenExpired: (token: string) => boolean;
}
export declare const authentication: (state: State, headers: Record<string, string>, httpSvc: HttpService) => HatAuth;
