///
import { PageResource, SiteSpec } from '@signatu/trackerdetect-lib';
import { TrackerCategory } from '@signatu/models';
export declare const useCookieUtil: (siteWithPages: SiteSpec) => {
resources: PageResource[];
trackers: Record;
getCategory: (params: import("@signatu/trackerdetect-lib").GetCategoryParams) => TrackerCategory | undefined;
cookiesWithCategories: {
category: TrackerCategory;
type: "cookie";
elementId?: string | undefined;
parentPageId?: string | undefined;
url: string;
trackerIds?: string[] | undefined;
initiator?: {
type: string;
url: string;
id?: string | undefined;
stack?: any;
trackerIds?: string[] | undefined;
} | undefined;
geoIP?: import("@signatu/trackerdetect-lib").GeoIP | undefined;
path?: string | undefined;
expires?: number | undefined;
secure?: boolean | undefined;
session?: boolean | undefined;
httpOnly?: boolean | undefined;
hostOnly?: boolean | undefined;
size?: number | undefined;
isExternal?: boolean | undefined;
duration?: string | undefined;
name: string;
value: string;
domain: string;
}[];
ownCookiesWithCategories: {
category: TrackerCategory;
type: "cookie";
elementId?: string | undefined;
parentPageId?: string | undefined;
url: string;
trackerIds?: string[] | undefined;
initiator?: {
type: string;
url: string;
id?: string | undefined;
stack?: any;
trackerIds?: string[] | undefined;
} | undefined;
geoIP?: import("@signatu/trackerdetect-lib").GeoIP | undefined;
path?: string | undefined;
expires?: number | undefined;
secure?: boolean | undefined;
session?: boolean | undefined;
httpOnly?: boolean | undefined;
hostOnly?: boolean | undefined;
size?: number | undefined;
isExternal?: boolean | undefined;
duration?: string | undefined;
name: string;
value: string;
domain: string;
}[];
trackerCategories: Record;
cookieCategories: Record;
setCookieCategories: import("react").Dispatch>>;
setTrackerCategories: import("react").Dispatch>>;
controllerId: number | undefined;
setControllerId: import("react").Dispatch>;
};
//# sourceMappingURL=cookie-util.d.ts.map