import * as z from "zod/v4"; import { ClosedEnum, OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ToolCallStatus } from "./toolcallstatus.js"; export declare const Command: { readonly View: "view"; readonly Create: "create"; readonly StrReplace: "str_replace"; readonly Insert: "insert"; }; export type Command = OpenEnum; export declare const OutputTextEditorServerToolItemType: { readonly OpenrouterTextEditor: "openrouter:text_editor"; }; export type OutputTextEditorServerToolItemType = ClosedEnum; /** * An openrouter:text_editor server tool output item */ export type OutputTextEditorServerToolItem = { command?: Command | undefined; filePath?: string | undefined; id?: string | undefined; status: ToolCallStatus; type: OutputTextEditorServerToolItemType; }; /** @internal */ export declare const Command$inboundSchema: z.ZodType; /** @internal */ export declare const Command$outboundSchema: z.ZodType; /** @internal */ export declare const OutputTextEditorServerToolItemType$inboundSchema: z.ZodEnum; /** @internal */ export declare const OutputTextEditorServerToolItemType$outboundSchema: z.ZodEnum; /** @internal */ export declare const OutputTextEditorServerToolItem$inboundSchema: z.ZodType; /** @internal */ export type OutputTextEditorServerToolItem$Outbound = { command?: string | undefined; filePath?: string | undefined; id?: string | undefined; status: string; type: string; }; /** @internal */ export declare const OutputTextEditorServerToolItem$outboundSchema: z.ZodType; export declare function outputTextEditorServerToolItemToJSON(outputTextEditorServerToolItem: OutputTextEditorServerToolItem): string; export declare function outputTextEditorServerToolItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=outputtexteditorservertoolitem.d.ts.map