import { type SessionInfoType } from '../api/SessionApi';
import { State } from '../shared/State';
export type Session = {
    /**
     * Get session info
     * @param {string} tokenId session token
     * @returns {Promise<SessionInfoType>} a promise resolving to a session info object
     */
    getSessionInfo(tokenId: string): Promise<SessionInfoType>;
};
declare const _default: (state: State) => Session;
export default _default;
/**
 * Get session info
 * @param {string} tokenId session token
 * @returns {Promise<SessionInfoType>} a promise resolving to a session info object
 */
export declare function getSessionInfo({ tokenId, state, }: {
    tokenId: string;
    state: State;
}): Promise<SessionInfoType>;
//# sourceMappingURL=SessionOps.d.ts.map