import type { ConnectorToolPermission, ConnectorToolPermissionEntry } from "@opengeni/contracts"; import type { ConnectionHealth } from "../../lib/capabilities.js"; import type { CapabilityCatalogItem } from "../../types.js"; /** A workspace-enabled connector need not have an account for this viewer. */ export declare function hasConnectorToolPermissionTarget(item: CapabilityCatalogItem, health: ConnectionHealth): boolean; /** Why this tool has its current choice: the setting that actually decides it. */ export declare function permissionSourceText(tool: ConnectorToolPermissionEntry): string; export declare function PermissionSelect({ label, value, disabled, onChange, resetLabel, }: { label: string; value: ConnectorToolPermission | "mixed" | "default"; disabled?: boolean | undefined; onChange: (value: ConnectorToolPermission | null) => void; resetLabel?: string | undefined; }): import("react").JSX.Element; export declare function ConnectorToolPermissions({ workspaceId, capabilityId, bare, connectionId, }: { workspaceId: string; capabilityId: string; /** Lock this view to one explicitly selected account. */ connectionId?: string | undefined; /** Inside a page section that already names it: drop the frame and heading. */ bare?: boolean | undefined; }): import("react").JSX.Element;