import type { ViewStyle } from 'react-native'; type CloneElemColorsParams = { /** * ReactElement to be cloned to shape default colors. */ element?: JSX.Element; /** * Text color to be applied. * If not passed, default color will be applied. * Invalid if element is ViewStyle. */ color?: string; /** * Background color to be applied. * If not passed, default color will be applied. * Invalid if element is TextStyle. */ backgroundColor?: string; /** * Extra style to be applied. */ style?: ViewStyle; }; /** * This function applies default colors to cloned element. * * @param {CloneElemColorsParams} params * @returns {JSX.Element} - Cloned element with default colors if exists. Otherwise, null. */ export declare const cloneElemWithDefaultColors: ({ element, color, backgroundColor, style, }: CloneElemColorsParams) => JSX.Element | null; export {};