import type { Creatorlayer } from "../Creatorlayer.js"; import type { GDPRLookup, GDPRAccessResponse, GDPREraseResponse, GDPRExportResponse } from "../types.js"; export declare class GDPR { private readonly client; constructor(client: Creatorlayer); /** * Retrieve all data held for a creator. * Requires a `gdpr_admin` API key. * * @example * const data = await cl.gdpr.access({ email: "creator@example.com" }); */ access(params: GDPRLookup): Promise; /** * Permanently erase all data for a creator (GDPR Art. 17). * Requires a `gdpr_admin` API key. * * @example * await cl.gdpr.erase({ email: "creator@example.com" }); */ erase(params: GDPRLookup): Promise; /** * Export all data for a creator in a portable format (GDPR Art. 20). * Requires a `gdpr_admin` API key. * * @example * const { export_url } = await cl.gdpr.export({ email: "creator@example.com" }); */ export(params: GDPRLookup): Promise; } //# sourceMappingURL=GDPR.d.ts.map