/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import React from 'react';
interface Options {
    displayName?: string;
    useLoading?: () => boolean;
    SkeletonComponent?: React.ComponentType;
    /**
     * @default 300
     * Delay time of skeleton component
     */
    delay?: number;
}
/**
 * Display skeleton component while component is making API requests
 * @param Component
 * @param options
 * @returns
 */
export declare const withSkeletonComponent: (Component: React.ComponentType<any>, options?: Options) => React.MemoExoticComponent<(props: any) => React.JSX.Element>;
export {};
