import { Config, TrackingPreference } from '../types'; /** * Used for determining if a specific tracker has user consent. * It follows the following logic in order: * 1) If we don't have a tracker category in the config then dont allow * 2) If cookie is in a required category then allow * 3) If cookie is required for cookie manager to function then allow * 4) Determine consent from user consent preferences */ declare const hasConsent: (tracker: string, config: Config, trackingPreference: TrackingPreference) => boolean; export default hasConsent;