import { t as AssetsClient } from "./shared-DwuIaYac.js"; import { i as FileStore } from "./shared-Byn69p18.js"; import { z } from "zod"; //#region src/tools/common/fs/edit.d.ts interface EditToolOptions { store: FileStore; /** * Reject edits to files larger than this byte cap. Fuzzy matching needs the * whole buffer in memory, so we'd rather force the model to use `write`. * Default 2 MiB. */ maxBytes?: number; maxDiffLines?: number; maxDiffBytes?: number; } declare const editInputSchema: z.ZodObject<{ path: z.ZodString; edits: z.ZodArray>; }, z.core.$strip>; //#endregion //#region src/tools/common/fs/read.d.ts type LineTruncation = { bytes: number; } | { chars: number; }; interface ReadToolOptions { store: FileStore; /** Hard line cap. Default 2000. */ maxLines?: number; /** Hard output byte cap. Default 256 KiB. */ maxBytes?: number; /** Prefix each returned line with its 1-indexed line number. Default false. */ includeLineNumbers?: boolean; /** Shorten individual lines before applying the output byte cap. */ lineTruncation?: LineTruncation; /** Maximum image or PDF size sent inline to the model. Default 3.5 MiB. */ maxModelBytes?: number; /** Prefix bytes inspected when an extension does not identify the file. Default 512. */ mediaSniffBytes?: number; } declare const readInputSchema: z.ZodObject<{ path: z.ZodString; offset: z.ZodOptional; byteOffset: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>; //#endregion //#region src/tools/common/fs/write.d.ts interface WriteToolOptions { store: FileStore; /** * Reject writes whose UTF-8 byte length exceeds this cap. The model is * pointed at the edit tool instead. Default 2 MiB. */ maxBytes?: number; } declare const writeInputSchema: z.ZodObject<{ path: z.ZodString; content: z.ZodString; }, z.core.$strip>; //#endregion //#region src/tools/common/publish.d.ts interface PublishWorkspaceLike { readonly sessionId: string; readonly assets?: AssetsClient; } interface PublishToolOptions { workspace: PublishWorkspaceLike; } declare const publishInputSchema: z.ZodObject<{ path: z.ZodString; expiresAfterMs: z.ZodOptional; }, z.core.$strip>; //#endregion export { writeInputSchema as a, readInputSchema as c, WriteToolOptions as i, EditToolOptions as l, PublishWorkspaceLike as n, LineTruncation as o, publishInputSchema as r, ReadToolOptions as s, PublishToolOptions as t, editInputSchema as u }; //# sourceMappingURL=shared-J7HCZ3Nd.d.ts.map