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 { ToolCallStatus } from "./toolcallstatus.js";
export declare const OutputFilesServerToolItemType: {
    readonly OpenrouterFiles: "openrouter:files";
};
export type OutputFilesServerToolItemType = ClosedEnum<typeof OutputFilesServerToolItemType>;
/**
 * An openrouter:files server tool output item
 */
export type OutputFilesServerToolItem = {
    /**
     * 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;
    /**
     * Error message when the file operation failed.
     */
    error?: string | undefined;
    /**
     * The target file id supplied in the tool-call arguments.
     */
    fileId?: string | undefined;
    /**
     * The target filename supplied in the tool-call arguments.
     */
    filename?: string | undefined;
    id?: string | undefined;
    /**
     * The file operation performed (list, read, write, or edit).
     */
    operation?: string | undefined;
    /**
     * JSON-serialized result of the file operation.
     */
    result?: string | undefined;
    status: ToolCallStatus;
    type: OutputFilesServerToolItemType;
};
/** @internal */
export declare const OutputFilesServerToolItemType$inboundSchema: z.ZodEnum<typeof OutputFilesServerToolItemType>;
/** @internal */
export declare const OutputFilesServerToolItemType$outboundSchema: z.ZodEnum<typeof OutputFilesServerToolItemType>;
/** @internal */
export declare const OutputFilesServerToolItem$inboundSchema: z.ZodType<OutputFilesServerToolItem, unknown>;
/** @internal */
export type OutputFilesServerToolItem$Outbound = {
    arguments?: string | null | undefined;
    call_id?: string | null | undefined;
    error?: string | undefined;
    file_id?: string | undefined;
    filename?: string | undefined;
    id?: string | undefined;
    operation?: string | undefined;
    result?: string | undefined;
    status: string;
    type: string;
};
/** @internal */
export declare const OutputFilesServerToolItem$outboundSchema: z.ZodType<OutputFilesServerToolItem$Outbound, OutputFilesServerToolItem>;
export declare function outputFilesServerToolItemToJSON(outputFilesServerToolItem: OutputFilesServerToolItem): string;
export declare function outputFilesServerToolItemFromJSON(jsonString: string): SafeParseResult<OutputFilesServerToolItem, SDKValidationError>;
//# sourceMappingURL=outputfilesservertoolitem.d.ts.map