import { type CustomAgentProfile, type RemoteAgentManifest, type SkillMetadata } from "./metadata.js"; import { type ResourceMeta } from "./store.js"; interface JobMetadata { schedule?: string; scheduleDescription?: string; enabled?: boolean; lastStatus?: string; lastRun?: string; nextRun?: string; } interface TreeNode { name: string; path: string; type: "file" | "folder"; kind?: "file" | "skill" | "job" | "agent" | "remote-agent"; children?: TreeNode[]; resource?: ResourceMeta; jobMeta?: JobMetadata; skillMeta?: SkillMetadata; agentMeta?: CustomAgentProfile; remoteAgentMeta?: RemoteAgentManifest; } /** GET /_agent-native/resources — list resources */ export declare function handleListResources(event: any): Promise<{ resources: ResourceMeta[]; }>; /** GET /_agent-native/resources/tree — build nested tree */ export declare function handleGetResourceTree(event: any): Promise<{ tree: TreeNode[]; }>; /** GET /_agent-native/resources/effective?path=... — show inheritance stack */ export declare function handleGetEffectiveResourceContext(event: any): Promise; /** GET /_agent-native/resources/:id — get single resource with content. * If the request comes from an /