import { Logger } from '@dvn/core/log/logger';
import { NavigationHandler } from '@dvn/core/routing/routing';
import { KimlikApi } from '@dvn/kimlik/api/kimlikApi';
import { Storage } from '@dvn/kimlik/storage/Storage.interface';
/**
 * Returns the session from the storage.
 */
export declare const getSessionData: (storage?: Storage) => {
  token: string;
  uid: string;
};
/**
 * Returns true if there is user data saved in the browser storage.
 */
export declare function isUserLoggedIn(storage?: Storage, logger?: Logger): boolean;
/**
 * Sends the logout request and clears the storage.
 */
export declare function logout(redirectTo?: string, kimlikApi?: KimlikApi, storage?: Storage, navigate?: NavigationHandler): void;
