/** * @note : THESE ARE NOT MEANT TO BE EXPORTED * * These are utility functions that make certain tasks * within oolib easier */ import { ReactNode } from 'react'; import { ColorsType } from '../themes/colors'; /** * Generates a function that localizes a value based on the current theme. * * @param {ReactNode} value - The value to be localized * @return {ReactNode} The localized value */ export declare const useLocale: () => ((value: ReactNode) => ReactNode); /** * Returns the primary color at 10% opacity from the provided colors object or falls back to a default primary color * * @param {ColorsType} colors - An optional ColorsType object to retrieve the primary color from * @return {string} The primary color value at 10% opacity */ export declare const getPrimaryColor10: (colors?: ColorsType) => string; /** * Returns the primary color at 40% opacity from the provided colors object or falls back to a default primary color. * * @param {ColorsType} colors - An optional ColorsType object to retrieve the primary color from * @return {string} The primary color at 40% opacity. */ export declare const getPrimaryColor40: (colors?: ColorsType) => string; /** * Returns the primary color at 100% opacity from the provided colors object or falls back to a default primary color. * * @param {ColorsType} colors - Optional colors object containing primary color levels. * @return {string} The primary color at 100 level. */ export declare const getPrimaryColor100: (colors?: ColorsType) => string; /** * Get the primary color text. * * @param {ColorsType} colors - Optional colors object * @return {string} The primary color text */ export declare const getPrimaryColorText: (colors?: ColorsType) => string;