/** * Exports CS userId with which the client is opted in with. * * @param {function} onUserIdObtained - A callback that consumes the userId. */ export declare const getUserId: (onUserIdObtained: (userId: string) => void) => void; /** * Opt user IN Contentsquare tracking program. * This allows Contentsquare SDK gather user behaviors while navigating through the app. */ export declare const optIn: () => void; /** * Opt user OUT of the Contentsquare tracking program. * This will stop Contentsquare SDK from gathering any further user behavior while navigating * around the app. */ export declare const optOut: () => void; /** * Sends a User Identifier to Contentsquare tracking services. This identifier is immediately * hashed so no PII can ever be accessed. * * @param {string} userIdentifier The user identifier should be max 100 characters long. */ export declare const sendUserIdentifier: (userIdentifier: string) => void;