export declare const LS_SIGN_IN_POPUP = "BENTO_DID_CREATE_SIGN_IN_POPUP"; export declare const LS_BENTO_WAS_SIGNED_IN = "BENTO_WAS_SIGNED_IN"; export declare const LS_BENTO_POST_AUTH_REDIRECT = "BENTO_POST_AUTH_REDIRECT"; export declare const createAuthURL: (authorizationEndpoint: string, clientId: string, authCallbackUrl: string, scope?: string) => Promise; export declare const performAuth: (authorizationEndpoint: string, clientId: string, authCallbackUrl: string, scope?: string) => Promise; export declare const usePerformAuth: () => () => Promise; export type AuthCodeCallbackFunction = (code: string, verifier: string) => Promise; export declare const setLSNotSignedIn: () => void; export declare const useHandleCallback: (callbackPath: string, onSuccessfulAuthentication: (() => Promise) | (() => unknown), authCodeCallback: AuthCodeCallbackFunction | undefined, uiErrorCallback: (message: string) => void) => void; export declare const checkIsInAuthPopup: (applicationUrl: string) => boolean;