import type { DisplayNameConfig } from '@sisense/sdk-query-client/dispatcher'; import { AppConfig, SystemSettings } from './types'; /** * Raw JSON shape of `GET api/v1/settings/system` (Fusion wire key is `displayName`). * * @internal */ export type SystemSettingsWire = { tracking?: SystemSettings['tracking']; displayName?: DisplayNameConfig; /** Already-normalized payloads are accepted for convenience. */ displayNameConfig?: DisplayNameConfig; }; /** * Maps Fusion system-settings JSON to {@link SystemSettings}. * Wire key `displayName` becomes CSDK `displayNameConfig`. * * @param wire - Raw API response (or already-normalized settings) * @returns Normalized system settings * @internal */ export declare function normalizeSystemSettings(wire: SystemSettingsWire | null | undefined): SystemSettings | undefined; /** * Checks if the API Telemetry feature is enabled * * @param systemSettings - System settings from `api/v1/settings/system` * @returns True if the API Telemetry feature is enabled, false otherwise */ export declare function isApiTelemetryEnabled(systemSettings?: Pick): boolean; /** * Prepares the API Telemetry headers * * @param appConfig - App config * @param isFusionAuth - Whether the application is using Fusion authentication * @returns The API Telemetry headers */ export declare function prepareApiTelemetryHeaders(packageName: string, appConfig?: AppConfig, isFusionAuth?: boolean): Record;