/** * Options for controlling namespace display formatting. */ export type NamespaceDisplayOptions = { /** Show the raw namespace prefix alongside the product name. Default: false. */ readonly showPrefix?: boolean; /** Label to use for objects with no namespace (platform-native). Default: "Standard". */ readonly standardLabel?: string; }; /** * Formats a Salesforce namespace prefix into a human-readable display string. * * Resolves known namespace prefixes to their product names using the * namespace constants map. Unknown namespaces are returned as-is. * Null/undefined/empty namespaces return the standard label. * * @param namespace - The namespace prefix (with or without trailing underscores), * or null/undefined for standard objects * @param options - Display formatting options * @returns A human-readable string representing the namespace * * @example * formatNamespace('FinServ__') // "Financial Services Cloud" * formatNamespace('SBQQ__') // "Salesforce CPQ" * formatNamespace('SBQQ__', { showPrefix: true }) // "Salesforce CPQ (SBQQ__)" * formatNamespace(null) // "Standard" * formatNamespace('') // "Standard" * formatNamespace('Unknown__') // "Unknown__" * formatNamespace(null, { standardLabel: 'Platform' }) // "Platform" */ export declare function formatNamespace(namespace: string | null | undefined, options?: NamespaceDisplayOptions): string;