/** * Joins class names from strings, numbers, arrays and condition maps into a single space-separated string. Falsy * arguments are skipped, arrays are flattened recursively, and object keys are kept only where the value is truthy. * Duplicates are not removed. * * @param args Class name sources. * @returns Space-separated class list. * * @example * ```ts * cn('p-button', ['p-button-sm', null], { 'p-disabled': disabled, 'p-button-text': false }); * // 'p-button p-button-sm p-disabled' (when disabled is true) * ``` */ declare function cn(...args: unknown[]): string; /** * @deprecated Use `cn` instead. * @param args * @returns */ declare function classNames(...args: unknown[]): string; export { classNames, cn };