import { AuthenticationResult, AuthorizationParams, ClientOptions, TokenType, PopupConfigOptions, PopupAuthenticationResult } from './definitions'; export declare const parseAuthenticationResult: (queryString: string) => AuthenticationResult; export declare const removeAuthenticationResult: () => void; export declare const getCrypto: () => Crypto; export declare const createRandomString: () => string; export declare const encode: (value: string) => string; export declare const decode: (value: string) => string; export declare const createQueryParams: ({ ...params }: any) => string; export declare const sha256: (s: string) => Promise; export declare const urlDecodeB64: (input: string) => string; export declare const bufferToBase64UrlEncoded: (input: number[] | Uint8Array) => string; export declare const validateCrypto: () => void; /** * @ignore */ export declare const getDomainUrl: (domainUrl: string) => string; /** * @ignore */ export declare const getUniqueScopes: (...scopes: (string | undefined)[]) => string; /** * @ignore */ export declare const getAuthorizeParams: (clientOptions: ClientOptions & { authorizationParams: AuthorizationParams; }, state: string, scope: string, redirection_url: string, authorities: string, code_challenge: string) => { client_id: string; state: string; scope: string; response_type: string; redirection_url: string; authorities: string; code_challenge: string; code_challenge_method: string; }; export declare function loadScript(src: string): Promise; export declare function waitPropChangeTo(object: { [key: string]: T; }, prop: string, targetVal: T, times?: number): Promise; export declare const getTokenData: (token: string) => { token: string; tokenType: TokenType; }; export declare const getAPITokenConfig: (tokenData: { token: string; tokenType: TokenType; }) => { token?: string; authKey?: string; } | void; export declare const openPopup: (url: string) => Window | null; export declare const runPopup: (config: PopupConfigOptions) => Promise; export declare const getBrowserCookie: (cookieName: string) => string | null;