/** * Privacy — automated cookie discovery + consent mapping for GDPR / CCPA. * * POST /privacy/scans — start scan * GET /privacy/projects/:id/scans — list scans * GET /privacy/projects/:id/scans/:scanId — get report * GET /privacy/projects/:id/cookies — list detected cookies * GET /privacy/projects/:id/summary — aggregate summary * PATCH /privacy/projects/:id/cookies/:cookieId/category — recategorize * PATCH /privacy/projects/:id/cookies/:cookieId/consent-type — (un)link consent type * POST /privacy/cookies/bulk-link — bulk category → consent * POST /privacy/known-cookies/seed — admin: seed reference DB * * Project path parameters accept TypeID OR slug (handled server-side via * `getProjectByIdOrSlugWithAccess`); the SDK intentionally does not narrow. */ import type { BulkLinkCookiesInput, BulkLinkCookiesResult, CookieCategory, CookieParty, CookieScanSummary, DetectedCookie, LinkCookieResult, ListCookiesResult, ListScansResult, ScanReport, ScanReportSummary, ScanStatus, SeedKnownCookiesResult, StartScanInput, StartScanResult, UpdateCookieCategoryResult } from '@sylphx/contract'; import type { Client } from './client.js'; export type { BulkLinkCookiesInput, BulkLinkCookiesResult, CookieCategory, CookieParty, CookieScanSummary, DetectedCookie, LinkCookieResult, ListCookiesResult, ListScansResult, ScanReport, ScanStatus, SeedKnownCookiesResult, StartScanInput, StartScanResult, UpdateCookieCategoryResult, }; export type ScanSummary = ScanReportSummary; export declare const startScan: (client: Client, input: StartScanInput) => Promise; export declare const getScan: (client: Client, projectIdOrSlug: string, scanId: string) => Promise; export interface ListScansOptions { readonly status?: ScanStatus; readonly limit?: number; readonly offset?: number; } export declare const listScans: (client: Client, projectIdOrSlug: string, options?: ListScansOptions) => Promise; export interface ListCookiesOptions { readonly scanId?: string; readonly category?: CookieCategory; readonly party?: CookieParty; readonly search?: string; readonly limit?: number; readonly offset?: number; } export declare const listCookies: (client: Client, projectIdOrSlug: string, options?: ListCookiesOptions) => Promise; export declare const summary: (client: Client, projectIdOrSlug: string) => Promise; export declare const updateCookieCategory: (client: Client, projectIdOrSlug: string, cookieId: string, category: CookieCategory) => Promise; export declare const linkCookieToConsentType: (client: Client, projectIdOrSlug: string, cookieId: string, consentTypeId: string | null) => Promise; export declare const bulkLinkCookies: (client: Client, input: BulkLinkCookiesInput) => Promise; export declare const seedKnownCookies: (client: Client) => Promise; //# sourceMappingURL=privacy.d.ts.map