import type { None, SubscribeToSdkAuthFailureCallbackType } from "../types"; /** * Subscribe to be notified of network request failures that occured due to an SDK Authentication error. This * method can be used to determine when to call [[`setSdkAuthenticationSignature`]] to provide the SDK with a new signature. * If you do not have SDK Authentication enabled on the Braze dashboard, this subscription will never be invoked. * * @param subscriber - The subscriber function that is invoked whenever an SDK Authentication error occurs. It is * invoked with an object containing the `errorCode`, `reason` for the error, the `userId` of the request (if the * user is not anonymous), and the authentication `signature` that caused the error. * * @returns The identifier of the subscription created. This can be passed to [['removeSubscription`]] to cancel * the subscription. Returns undefined if the SDK has not been initialized. */ export declare function subscribeToSdkAuthenticationFailures(subscriber: SubscribeToSdkAuthFailureCallbackType): string | None;