import type { EndSessionFn } from './types.js';
export declare const isUserAuthorized: () => boolean;
export declare const getIDPInfoFromUrl: () => {
    code: string;
    idpErrorCode: string;
    redirectUri: string;
};
export declare const navigateToLoginPage: ({ clientId, redirectUri, idpErrorCode, scope, responseType, }: {
    clientId: string;
    redirectUri: string;
    idpErrorCode: string;
    scope: string;
    responseType: string;
}) => void;
export declare const endSession: EndSessionFn;
export declare const authorize: ({ code, redirectUri, clientId, scope, responseType, isConsumerUser, }: {
    code: string;
    redirectUri: string;
    clientId: string;
    scope: string;
    responseType: string;
    isConsumerUser: boolean;
}) => Promise<void>;
export declare const login: ({ clientId, scope, responseType, isConsumerUser, }: {
    clientId: string;
    scope: string;
    responseType: string;
    isConsumerUser: boolean;
}) => Promise<{
    authorized: boolean;
}>;
