import * as z from "zod/v4";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
import { ShellCallOutputContent, ShellCallOutputContent$Outbound } from "./shellcalloutputcontent.js";
import { ToolCallStatus } from "./toolcallstatus.js";
export type OutputShellServerToolItemAction = {
    commands: Array<string>;
    maxOutputLength?: number | null | undefined;
    timeoutMs?: number | null | undefined;
};
export declare const OutputShellServerToolItemType: {
    readonly OpenrouterShell: "openrouter:shell";
};
export type OutputShellServerToolItemType = ClosedEnum<typeof OutputShellServerToolItemType>;
/**
 * An openrouter:shell server tool output item
 */
export type OutputShellServerToolItem = {
    action?: OutputShellServerToolItemAction | undefined;
    /**
     * The raw tool-call arguments string as emitted by the model.
     */
    arguments?: string | null | undefined;
    /**
     * The model-generated tool call id from the originating turn.
     */
    callId?: string | null | undefined;
    id?: string | undefined;
    output?: Array<ShellCallOutputContent> | undefined;
    status: ToolCallStatus;
    type: OutputShellServerToolItemType;
};
/** @internal */
export declare const OutputShellServerToolItemAction$inboundSchema: z.ZodType<OutputShellServerToolItemAction, unknown>;
/** @internal */
export type OutputShellServerToolItemAction$Outbound = {
    commands: Array<string>;
    max_output_length?: number | null | undefined;
    timeout_ms?: number | null | undefined;
};
/** @internal */
export declare const OutputShellServerToolItemAction$outboundSchema: z.ZodType<OutputShellServerToolItemAction$Outbound, OutputShellServerToolItemAction>;
export declare function outputShellServerToolItemActionToJSON(outputShellServerToolItemAction: OutputShellServerToolItemAction): string;
export declare function outputShellServerToolItemActionFromJSON(jsonString: string): SafeParseResult<OutputShellServerToolItemAction, SDKValidationError>;
/** @internal */
export declare const OutputShellServerToolItemType$inboundSchema: z.ZodEnum<typeof OutputShellServerToolItemType>;
/** @internal */
export declare const OutputShellServerToolItemType$outboundSchema: z.ZodEnum<typeof OutputShellServerToolItemType>;
/** @internal */
export declare const OutputShellServerToolItem$inboundSchema: z.ZodType<OutputShellServerToolItem, unknown>;
/** @internal */
export type OutputShellServerToolItem$Outbound = {
    action?: OutputShellServerToolItemAction$Outbound | undefined;
    arguments?: string | null | undefined;
    call_id?: string | null | undefined;
    id?: string | undefined;
    output?: Array<ShellCallOutputContent$Outbound> | undefined;
    status: string;
    type: string;
};
/** @internal */
export declare const OutputShellServerToolItem$outboundSchema: z.ZodType<OutputShellServerToolItem$Outbound, OutputShellServerToolItem>;
export declare function outputShellServerToolItemToJSON(outputShellServerToolItem: OutputShellServerToolItem): string;
export declare function outputShellServerToolItemFromJSON(jsonString: string): SafeParseResult<OutputShellServerToolItem, SDKValidationError>;
//# sourceMappingURL=outputshellservertoolitem.d.ts.map