import { Type } from "typebox"; /** * Read-only agent workspace browsing schemas. * * These contracts back the workspace file browser in operator clients * (mobile apps, Control UI). The surface is intentionally read-only: * write/delete/upload stay out of this namespace until a separately * reviewed mutation contract exists. */ /** One file or folder in an agent workspace directory listing. */ export declare const AgentsWorkspaceEntrySchema: Type.TObject<{ path: Type.TString; name: Type.TString; kind: Type.TUnion<[Type.TLiteral<"file">, Type.TLiteral<"directory">]>; size: Type.TOptional; updatedAtMs: Type.TOptional; }>; /** Lists one directory of an agent workspace. */ export declare const AgentsWorkspaceListParamsSchema: Type.TObject<{ agentId: Type.TString; path: Type.TOptional; offset: Type.TOptional; limit: Type.TOptional; }>; /** Paginated directory listing rooted at the agent workspace. */ export declare const AgentsWorkspaceListResultSchema: Type.TObject<{ agentId: Type.TString; path: Type.TString; parentPath: Type.TOptional; entries: Type.TArray, Type.TLiteral<"directory">]>; size: Type.TOptional; updatedAtMs: Type.TOptional; }>>; totalEntries: Type.TInteger; offset: Type.TInteger; }>; /** One workspace file preview payload (UTF-8 text or base64 image). */ export declare const AgentsWorkspaceFileSchema: Type.TObject<{ path: Type.TString; name: Type.TString; size: Type.TInteger; updatedAtMs: Type.TInteger; mimeType: Type.TString; encoding: Type.TUnion<[Type.TLiteral<"utf8">, Type.TLiteral<"base64">]>; content: Type.TString; }>; /** Reads one workspace file by workspace-relative path. */ export declare const AgentsWorkspaceGetParamsSchema: Type.TObject<{ agentId: Type.TString; path: Type.TString; }>; /** Result for reading one workspace file. */ export declare const AgentsWorkspaceGetResultSchema: Type.TObject<{ agentId: Type.TString; file: Type.TObject<{ path: Type.TString; name: Type.TString; size: Type.TInteger; updatedAtMs: Type.TInteger; mimeType: Type.TString; encoding: Type.TUnion<[Type.TLiteral<"utf8">, Type.TLiteral<"base64">]>; content: Type.TString; }>; }>;