import * as React from 'react';
interface BaseComponentProps {
    /**
     * The currently used pilet API.
     */
    piral: any;
}
/**
 * Wraps the component in a Pilet API provider allowing to make use of
 * the `usePilet` hook.
 * @param Component The component that should be wrapped in a provider.
 * @returns The wrapped component.
 */
export declare function withPiletApi<T>(Component: React.FC<T>): React.FC<T & BaseComponentProps>;
export {};
