import { ReactNode } from 'react';
import type { V1ObjectMeta } from '@kubernetes/client-node';
import { ClusterAttributes } from '@backstage/plugin-kubernetes-common';
/**
 *
 *
 * @public
 */
export type LinkErrorPanelProps = {
    cluster: ClusterAttributes;
    errorMessage?: string;
    children?: ReactNode;
};
/**
 *
 *
 * @public
 */
export declare const LinkErrorPanel: ({ cluster, errorMessage, }: LinkErrorPanelProps) => import("react/jsx-runtime").JSX.Element;
/**
 *
 *
 * @public
 */
export interface KubernetesDrawerable {
    metadata?: V1ObjectMeta;
}
/**
 *
 * @public
 */
export interface KubernetesStructuredMetadataTableDrawerProps<T extends KubernetesDrawerable> {
    object: T;
    renderObject: (obj: T) => object;
    buttonVariant?: 'h5' | 'subtitle2';
    kind: string;
    expanded?: boolean;
    children?: ReactNode;
}
/**
 *
 * @public
 */
export declare const KubernetesStructuredMetadataTableDrawer: <T extends KubernetesDrawerable>({ object, renderObject, kind, buttonVariant, expanded, children, }: KubernetesStructuredMetadataTableDrawerProps<T>) => import("react/jsx-runtime").JSX.Element;
