import React from 'react'; /** * Custom component override type * Allows replacing default components with custom implementations */ export type CustomComponentOverride
= React.ComponentType
;
/**
* Custom function override type
* Allows replacing default functions with custom implementations
*/
export type CustomFunctionOverride (override: CustomComponentOverride | undefined, defaultComponent: React.ComponentType ): React.ComponentType ;
/**
* Helper function to apply function overrides
* Returns the override function if provided, otherwise returns the default function
*
* @param override - Optional custom function to use instead of default
* @param defaultFunction - The default function to use if no override is provided
* @returns The function to use (either override or default)
*/
export declare function withFunctionOverride