import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateDatasetRequestBody = {
    /**
     * The display name of the dataset
     */
    displayName?: string | undefined;
    /**
     * The unique identifier of the project it belongs to
     */
    projectId?: string | undefined;
    /**
     * Entity storage path.
     *
     * @remarks
     *
     * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
     *
     * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
     */
    path?: string | undefined;
};
export type UpdateDatasetRequest = {
    /**
     * The unique identifier of the dataset
     */
    datasetId: string;
    requestBody?: UpdateDatasetRequestBody | undefined;
};
export type UpdateDatasetMetadata = {
    totalVersions: number;
    datapointsCount: number;
};
/**
 * Dataset updated.
 */
export type UpdateDatasetResponseBody = {
    /**
     * The unique identifier of the dataset
     */
    id: string;
    /**
     * The display name of the dataset
     */
    displayName: string;
    /**
     * The unique identifier of the project it belongs to
     */
    projectId: string;
    /**
     * The unique identifier of the workspace it belongs to
     */
    workspaceId: string;
    metadata: UpdateDatasetMetadata;
    /**
     * The unique identifier of the user who created the dataset
     */
    createdById?: string | null | undefined;
    /**
     * The unique identifier of the user who last updated the dataset
     */
    updatedById?: string | null | undefined;
    /**
     * The date and time the resource was created
     */
    created?: Date | undefined;
    /**
     * The date and time the resource was last updated
     */
    updated: Date;
};
/** @internal */
export type UpdateDatasetRequestBody$Outbound = {
    display_name?: string | undefined;
    project_id?: string | undefined;
    path?: string | undefined;
};
/** @internal */
export declare const UpdateDatasetRequestBody$outboundSchema: z.ZodType<UpdateDatasetRequestBody$Outbound, z.ZodTypeDef, UpdateDatasetRequestBody>;
export declare function updateDatasetRequestBodyToJSON(updateDatasetRequestBody: UpdateDatasetRequestBody): string;
/** @internal */
export type UpdateDatasetRequest$Outbound = {
    dataset_id: string;
    RequestBody?: UpdateDatasetRequestBody$Outbound | undefined;
};
/** @internal */
export declare const UpdateDatasetRequest$outboundSchema: z.ZodType<UpdateDatasetRequest$Outbound, z.ZodTypeDef, UpdateDatasetRequest>;
export declare function updateDatasetRequestToJSON(updateDatasetRequest: UpdateDatasetRequest): string;
/** @internal */
export declare const UpdateDatasetMetadata$inboundSchema: z.ZodType<UpdateDatasetMetadata, z.ZodTypeDef, unknown>;
export declare function updateDatasetMetadataFromJSON(jsonString: string): SafeParseResult<UpdateDatasetMetadata, SDKValidationError>;
/** @internal */
export declare const UpdateDatasetResponseBody$inboundSchema: z.ZodType<UpdateDatasetResponseBody, z.ZodTypeDef, unknown>;
export declare function updateDatasetResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateDatasetResponseBody, SDKValidationError>;
//# sourceMappingURL=updatedataset.d.ts.map