import type { Resource } from "@modelcontextprotocol/sdk/types.js"; export interface ResourcesTabRef { focusSearch: () => void; blurSearch: () => void; } interface ResourcesTabProps { resources: Resource[]; readResource: (uri: string) => Promise; serverId: string; isConnected: boolean; mcpServerUrl: string; refreshResources?: () => Promise; } /** * Render the Resources tab UI and manage its interactions (resource list, selection, result display, search, keyboard navigation, mobile/desktop layouts, copy/download/fullscreen actions, and RPC logger). * * @param ref - Optional ref exposing `focusSearch()` and `blurSearch()` methods for programmatic search focus control. * @param resources - Array of resources to show and filter. * @param readResource - Function to read a resource by its URI; used when a resource is selected. * @param serverId - Identifier for the server; used for telemetry and RPC logger scope. * @param isConnected - When `true`, selecting a resource triggers `readResource`; when `false`, reads are skipped. * @returns The ResourcesTab React element. */ export declare function ResourcesTab({ ref, resources, readResource, serverId, isConnected, mcpServerUrl, refreshResources, }: ResourcesTabProps & { ref?: React.RefObject; }): import("react/jsx-runtime").JSX.Element; export declare namespace ResourcesTab { var displayName: string; } export {}; //# sourceMappingURL=ResourcesTab.d.ts.map