export declare const API_ENDPOINTS: { complianceRegion: string; }; export declare const API_URL = "https://privacy.ft.com/api/v1"; /** * Embed legislationIds and referrer as params to `url` * Allows customisation (e.g. skinning, granularity of consent, etc) of the destination page * * This method provides a standardised way to interface with x-privacy-manager */ export declare function buildConsentPageUrl({ url, legislation, referrer, }: { url: string; legislation: Set; referrer?: string; }): string; /** * Return a promise resolving to an object containing information about the * user's legal protections: * * - region: A string consisting of a country code or country-region ("GB", "US-CA") * - legislation: A Set of the applicable legislationIds */ export declare function fetchLegislation(): Promise; export declare type RegionalCompliance = { region: string; legislation: Set; }; export { }