/**-----------------------------------------------------------------------------------------
* Copyright © 2023 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 extends any> = React.ComponentType<P & {
    ref?: React.Ref<any>;
}>;
/**
 * @hidden
 */
export declare const useCustomComponent: <P = {}>(comp: CustomComponent<P>) => [React.ComponentType<P & {
    ref?: React.Ref<any> | undefined;
}>, Partial<P>];
