import type { BasePayload } from 'payload'; import type { I18nConfig } from '../i18n/index.js'; import type { ConsentTexts } from './texts.js'; type GetConsentTextsArgs = { config: I18nConfig; locale?: string; payload: BasePayload; /** * Privacy-policy label + the system page (from SiteSettings.privacyPolicy, * read with locale:'all') to link to. Optional — omit for no link. */ privacyPolicy?: { label: string; page: { slug?: null | Record; } | null; }; }; /** * Resolves consent banner texts from the CookieSettings global, falling back to * English defaults per field. The privacy-policy link is built from the pages * module (system page role), not stored in CookieSettings — one source of truth. */ export declare function getConsentTexts({ config, locale, payload, privacyPolicy, }: GetConsentTextsArgs): Promise; export {};