import React from "react"; import { type DefaultMcpIntegration } from "./mcp-integration-catalog.js"; import { type ResourceScope, type TreeNode } from "./use-resources.js"; export declare function normalizeResourceFileName(name: string): string; export type ResourceView = "files" | "instructions" | "agents" | "memory" | "skills" | "learnings" | "remote-agents"; export type ResourceTreeVariant = "tree" | "collection"; export declare function filterResourceTree(tree: TreeNode[], view: ResourceView | undefined): TreeNode[]; export interface ResourcesPanelProps { /** Hide the virtual MCP folder when Files is hosted by the Agent page. */ showMcpServers?: boolean; /** Optional page-level scope to mirror in the resource toolbar. */ scope?: ResourceScope; /** When set, show only the requested scope instead of both scope sections. */ showOnlyRequestedScope?: boolean; /** Limit the tree to one agent-native resource collection. */ resourceFilter?: ResourceView; /** Render special collections as cards instead of a nested file tree. */ resourceTreeVariant?: ResourceTreeVariant; /** Optional app-owned remote MCP catalog. */ mcpIntegrations?: DefaultMcpIntegration[]; } export declare function resolveInitialResourceScope(requestedScope: ResourceScope | undefined, canEditOrg: boolean): ResourceScope; export declare function ResourcesPanel({ showMcpServers, scope: requestedScope, showOnlyRequestedScope, resourceFilter, resourceTreeVariant, mcpIntegrations, }?: ResourcesPanelProps): React.JSX.Element; //# sourceMappingURL=ResourcesPanel.d.ts.map