import type { UniwindContextType } from '../../core/types'; export declare const getCSSVariable: (name: string | Array, uniwindContext: UniwindContextType) => string | (string | undefined)[] | undefined; type IsGenericNumber = T & 0 extends -1 ? false : true; type CreateArray = []> = TAcc['length'] extends N ? TAcc : CreateArray; export type GetCSSVariable = { (name: string): string | number | undefined; >(names: T): IsGenericNumber extends true ? Array : CreateArray; }; /** * A hook that returns the value of a CSS variable. * @param name Name / Array of names of the CSS variable. * @returns Value / Values of the CSS variable. On web it is always a string (1rem, #ff0000, etc.), but on native it can be a string or a number (16px, #ff0000) */ export declare const useCSSVariable: GetCSSVariable; export {};