import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetV2ToolsToolIdVersionsRequest = {
    toolId: string;
    /**
     * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
     */
    limit?: number | undefined;
    /**
     * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
     */
    startingAfter?: string | undefined;
    /**
     * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
     */
    endingBefore?: string | undefined;
};
export declare const GetV2ToolsToolIdVersionsObject: {
    readonly List: "list";
};
export type GetV2ToolsToolIdVersionsObject = ClosedEnum<typeof GetV2ToolsToolIdVersionsObject>;
export type GetV2ToolsToolIdVersionsData = {
    id: string;
    createdAt: string;
    updatedAt: string;
    createdById?: string | undefined;
    updatedById?: string | undefined;
    version: string;
    description?: string | undefined;
    checksum: string;
    entityType: string;
    entityId: string;
    data: {
        [k: string]: any;
    };
    workspaceId: string;
};
/**
 * Tool versions retrieved
 */
export type GetV2ToolsToolIdVersionsResponseBody = {
    object: GetV2ToolsToolIdVersionsObject;
    data: Array<GetV2ToolsToolIdVersionsData>;
    hasMore: boolean;
};
/** @internal */
export type GetV2ToolsToolIdVersionsRequest$Outbound = {
    tool_id: string;
    limit: number;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
};
/** @internal */
export declare const GetV2ToolsToolIdVersionsRequest$outboundSchema: z.ZodType<GetV2ToolsToolIdVersionsRequest$Outbound, z.ZodTypeDef, GetV2ToolsToolIdVersionsRequest>;
export declare function getV2ToolsToolIdVersionsRequestToJSON(getV2ToolsToolIdVersionsRequest: GetV2ToolsToolIdVersionsRequest): string;
/** @internal */
export declare const GetV2ToolsToolIdVersionsObject$inboundSchema: z.ZodNativeEnum<typeof GetV2ToolsToolIdVersionsObject>;
/** @internal */
export declare const GetV2ToolsToolIdVersionsData$inboundSchema: z.ZodType<GetV2ToolsToolIdVersionsData, z.ZodTypeDef, unknown>;
export declare function getV2ToolsToolIdVersionsDataFromJSON(jsonString: string): SafeParseResult<GetV2ToolsToolIdVersionsData, SDKValidationError>;
/** @internal */
export declare const GetV2ToolsToolIdVersionsResponseBody$inboundSchema: z.ZodType<GetV2ToolsToolIdVersionsResponseBody, z.ZodTypeDef, unknown>;
export declare function getV2ToolsToolIdVersionsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetV2ToolsToolIdVersionsResponseBody, SDKValidationError>;
//# sourceMappingURL=getv2toolstoolidversions.d.ts.map