import { ServiceTier } from '../shared/config'; type FetchProfanitiesDataParams = { /** * The language code for which to fetch profanities. * Defaults to 'en' (English) if not provided. */ language?: string; /** * The service tier to determine the asset folder path. */ tier?: ServiceTier; }; /** * Fetches profanities data for a specified language from a remote source. * * This function retrieves a list of profane terms from a JSON file located in the assets folder. * The URL includes a timestamp to prevent CDN caching. * * @param language - The language code for which to fetch profanities. Defaults to 'en' (English). * @returns A Promise that resolves to an array of strings containing profanity terms. * @throws {Error} If the fetch request fails, returns a 404, or if the response contains invalid data. * * @example * // Fetch English profanities * const englishProfanities = await fetchProfanitiesData(); * * // Fetch Spanish profanities * const spanishProfanities = await fetchProfanitiesData('es'); */ export declare const fetchProfanitiesData: ({ language, tier, }?: FetchProfanitiesDataParams) => Promise; export {};