import * as z from "zod/v4";
import { ClosedEnum } from "../types/enums.js";
import { ToolCallStatus } from "./toolcallstatus.js";
export type ShellCallItemAction = {
    commands: Array<string>;
    maxOutputLength?: number | null | undefined;
    timeoutMs?: number | null | undefined;
};
export declare const ShellCallItemType: {
    readonly ShellCall: "shell_call";
};
export type ShellCallItemType = ClosedEnum<typeof ShellCallItemType>;
/**
 * A shell command execution call (newer variant)
 */
export type ShellCallItem = {
    action: ShellCallItemAction;
    /**
     * The raw tool-call arguments string as emitted by the model. Echo back unchanged when replaying history; used verbatim to preserve provider prompt-cache prefixes.
     */
    arguments?: string | null | undefined;
    callId: string;
    environment?: any | undefined;
    id?: string | null | undefined;
    status?: ToolCallStatus | null | undefined;
    type: ShellCallItemType;
};
/** @internal */
export type ShellCallItemAction$Outbound = {
    commands: Array<string>;
    max_output_length?: number | null | undefined;
    timeout_ms?: number | null | undefined;
};
/** @internal */
export declare const ShellCallItemAction$outboundSchema: z.ZodType<ShellCallItemAction$Outbound, ShellCallItemAction>;
export declare function shellCallItemActionToJSON(shellCallItemAction: ShellCallItemAction): string;
/** @internal */
export declare const ShellCallItemType$outboundSchema: z.ZodEnum<typeof ShellCallItemType>;
/** @internal */
export type ShellCallItem$Outbound = {
    action: ShellCallItemAction$Outbound;
    arguments?: string | null | undefined;
    call_id: string;
    environment?: any | undefined;
    id?: string | null | undefined;
    status?: string | null | undefined;
    type: string;
};
/** @internal */
export declare const ShellCallItem$outboundSchema: z.ZodType<ShellCallItem$Outbound, ShellCallItem>;
export declare function shellCallItemToJSON(shellCallItem: ShellCallItem): string;
//# sourceMappingURL=shellcallitem.d.ts.map