OptionalonAgreed: FunctionOptional callback to run once agreement is confirmed.
Optionaloptions: { agreementKey?: string; onCancel?: Function; onPrompt?: Function } = {}Optional feature-specific agreement behavior.
OptionalagreementKey?: stringStorage key used for the agreement.
OptionalonCancel?: FunctionCallback to run when the prompt is dismissed.
OptionalonPrompt?: FunctionCallback run immediately before the prompt opens.
Initializes the Terms of Use check. If the user hasn't agreed, it displays a confirmation prompt with key takeaways.