UNPKG

@privacyportal.org/privacy-kit

Version:

Lightweight and FOSS browser library bringing Privacy Portal features to your website users

17 lines (16 loc) 400 B
import { ErrorHandler } from './lib/config.js'; type SubscribeAnonymouslyOpts = { set_name_field: boolean; }; type RunOpts = { hide_my_email?: boolean; subscribe_anonymously?: boolean | SubscribeAnonymouslyOpts; on_error: ErrorHandler; }; type RunParams = { client_id: string; } & RunOpts; export default class PrivacyAlias { static run(params: RunParams): void; } export {};