import type { PanelContextValue } from '@principal-ade/panel-framework-core'; import type { AgentsPanelContext } from '../../../types'; export type AgentSource = 'project-root' | 'project-nested' | 'global-universal'; export interface Agent { id: string; name: string; path: string; content: string; source: AgentSource; priority: 1 | 2 | 3; sections?: { setup?: string; build?: string; test?: string; style?: string; }; } /** * Global agents data provided by the host application */ export interface GlobalAgentsSlice { agents: Agent[]; } interface UseAgentsDataParams { context: PanelContextValue; } interface UseAgentsDataReturn { agents: Agent[]; isLoading: boolean; error: string | null; refreshAgents: () => Promise; } /** * Hook to discover and read AGENTS.md files from the file tree */ export declare const useAgentsData: ({ context, }: UseAgentsDataParams) => UseAgentsDataReturn; export {}; //# sourceMappingURL=useAgentsData.d.ts.map