/**
 * @license
 *-------------------------------------------------------------------------------------------
 * Copyright © 2026 Progress Software Corporation. All rights reserved.
 * Licensed under commercial license. See LICENSE.md in the package root for more information
 *-------------------------------------------------------------------------------------------
 */
import * as React from 'react';
/**
 * @hidden
 */
export type CustomComponent<P = unknown> = React.ComponentType<P> | React.ReactElement<Partial<P>> | string;
/**
 * @hidden
 */
export declare const useCustomComponent: <P = unknown>(comp: React.ExoticComponent<React.FragmentProps> | CustomComponent<P> | null) => [string | React.ComponentType<P & React.RefAttributes<unknown>>, Partial<P>];
