import React from 'react';
import { WidgetCardProps } from './types';
type Has<T extends string, U extends string> = Exclude<U, T> extends never ? true : false;
type MustIncludeHeader<T extends readonly string[]> = Has<T[number], 'header'> extends true ? T : never;
export type WithWidgetCardProps<F extends string[]> = {
    children: React.ReactNode;
    features?: MustIncludeHeader<F>;
    cardProps?: WidgetCardProps;
};
export declare function WithWidgetCard<F extends string[]>({ children, features, cardProps, }: WithWidgetCardProps<F>): import("@emotion/react/jsx-runtime").JSX.Element;
export {};
