import type { AFSRootListOptions, AFSRootSearchOptions } from "@aigne/afs"; import type { Agent, AgentInvokeOptions } from "../../../agents/agent.js"; export declare function createAFSContext(agent?: Agent, context?: AgentInvokeOptions["context"]): { readonly enabled: boolean; description: string; readonly modules: Promise[]> | undefined; readonly histories: Promise<{ role: "user" | "agent"; content: unknown; }[]>; readonly skills: never[] | Promise, "name" | "description">[]>; list(path: string, options?: AFSRootListOptions): Promise; read(path: string): Promise | undefined>; search(path: string, query: string, options?: AFSRootSearchOptions): Promise; };