/**
 * Copyright (c) OpenLens Maintainers. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */
import "./info-panel.scss";
import React from "react";
import type { StrictReactNode } from "@openlens/utilities";
import type { TabId } from "./dock/store";
export interface InfoPanelProps extends OptionalProps {
    tabId: TabId;
    submit?: () => Promise<string | React.ReactElement | React.ReactElement[] | null | undefined | false | void>;
}
export interface OptionalProps {
    className?: string;
    error?: string;
    controls?: StrictReactNode;
    submitLabel?: StrictReactNode;
    submittingMessage?: StrictReactNode;
    disableSubmit?: boolean;
    showButtons?: boolean;
    showSubmitClose?: boolean;
    showInlineInfo?: boolean;
    showNotifications?: boolean;
    showStatusPanel?: boolean;
    submitTestId?: string;
    submitAndCloseTestId?: string;
    cancelTestId?: string;
    submittingTestId?: string;
}
export declare const InfoPanel: React.FunctionComponent<InfoPanelProps>;
