--- title: "Interfaces" slug: "interfaces" updated: 2026-11-17T04:53:55Z published: 2026-11-17T04:53:55Z canonical: "usercentrics.com/interfaces" --- > ## Documentation Index > Fetch the complete documentation index at: https://usercentrics.com/docs/llms.txt > Use this file to discover all available pages before exploring further. # Interfaces ### TCFDecisions ```typescript /** A user's consent decision on all TCF options */ interface TCFDecisions {  /** A user's consent decision on TCF purposes */  purposes?: TCFUserDecisionOnPurpose[];  /** A user's consent decision on TCF special features */  specialFeatures?: TCFUserDecisionOnSpecialFeature[];  /** A user's consent decision on TCF vendors */  vendors?: TCFUserDecisionOnVendor[]; } ``` ### BaseTCFUserDecision ```typescript interface BaseTCFUserDecision {  /** Indicates if the user gave consent (true) or denied consent (false) */  consent?: boolean;  /** The id of the purpose/vendor the consent decision belongs to */  id: number; } ``` ### TCFUserDecisionOnPurpose ```typescript /** A user's consent decision for a single purpose */ interface TCFUserDecisionOnPurpose extends BaseTCFUserDecision {  /** Indicates if the user gave legitimate interest consent (true) or denied consent (false) */  legitimateInterestConsent?: boolean; } ``` ### TCFUserDecisionOnSpecialFeature ```typescript /** A user's consent decision for a single special feature */ interface TCFUserDecisionOnSpecialFeature extends BaseTCFUserDecision {  /** passing consent is compulsory */  consent: boolean; } ```