import type { ITokenData } from './token-providers/types/TokenData.types.js'; /** * Formats the authorization request header with the passed in access token. * * @param accessToken - The access token to be included in the authorization header. * * @returns The authorization request header with the access token included or null if no access token * is passed. */ export declare const defaultAuthorizationHeaderFormatter: (accessToken?: string) => string | null; /** * Creates a token data serializer to be used in AuthenticationTokenManager's * storage.serializer option. It uses cryptojs's AES algorithm to encrypt data with * the passed in secret key. Please notice that as the key lives on the front-end, * an attacker will always be able to obtain it and get access to the decrypted * data, so this will only make it a little bit harder for an attacker to obtain * the saved token data. * * @param secretKey - The key to be used to encrypt token data. * * @returns Object implementing serializeTokenData and deserializeTokenData methods to be used in * AuthenticationTokenManager's storage.serializer option. */ export declare const getDefaultTokenDataSerializer: (secretKey: string) => { serializeTokenData: (tokenData: ITokenData) => string; deserializeTokenData: (rawData: string) => ITokenData; };