import { StateRef } from "../helpers/reactUtils";
interface BasePanelField {
    id: string;
    label: string;
}
export interface PanelFieldText extends BasePanelField {
    type: "text";
    state: StateRef<string>;
}
export interface PanelFieldBool extends BasePanelField {
    type: "bool";
    state: StateRef<boolean>;
}
export type PanelField = PanelFieldText | PanelFieldBool;
export interface GenericPanelProps {
    showPanel: StateRef<boolean>;
    header?: React.ReactNode;
    fields: PanelField[];
    onClose?: () => void;
}
export declare function GenericPanel(props: GenericPanelProps): import("react/jsx-runtime").JSX.Element;
export {};
