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 in the format: `project/folder/subfolder/...`
     *
     * @remarks
     *
     * The first element identifies the project, followed by nested folders (auto-created as needed).
     *
     * With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
     */
    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 | undefined;
    /**
     * The unique identifier of the user who last updated the dataset
     */
    updatedById?: string | undefined;
    /**
     * The date and time the resource was created
     */
    created?: Date | undefined;
    /**
     * The date and time the resource was last updated
     */
    updated?: Date | undefined;
};
/** @internal */
export declare const UpdateDatasetRequestBody$inboundSchema: z.ZodType<UpdateDatasetRequestBody, z.ZodTypeDef, unknown>;
/** @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;
export declare function updateDatasetRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateDatasetRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateDatasetRequest$inboundSchema: z.ZodType<UpdateDatasetRequest, z.ZodTypeDef, unknown>;
/** @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;
export declare function updateDatasetRequestFromJSON(jsonString: string): SafeParseResult<UpdateDatasetRequest, SDKValidationError>;
/** @internal */
export declare const UpdateDatasetMetadata$inboundSchema: z.ZodType<UpdateDatasetMetadata, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateDatasetMetadata$Outbound = {
    total_versions: number;
    datapoints_count: number;
};
/** @internal */
export declare const UpdateDatasetMetadata$outboundSchema: z.ZodType<UpdateDatasetMetadata$Outbound, z.ZodTypeDef, UpdateDatasetMetadata>;
export declare function updateDatasetMetadataToJSON(updateDatasetMetadata: UpdateDatasetMetadata): string;
export declare function updateDatasetMetadataFromJSON(jsonString: string): SafeParseResult<UpdateDatasetMetadata, SDKValidationError>;
/** @internal */
export declare const UpdateDatasetResponseBody$inboundSchema: z.ZodType<UpdateDatasetResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateDatasetResponseBody$Outbound = {
    _id: string;
    display_name: string;
    project_id: string;
    workspace_id: string;
    metadata: UpdateDatasetMetadata$Outbound;
    created_by_id?: string | undefined;
    updated_by_id?: string | undefined;
    created?: string | undefined;
    updated: string;
};
/** @internal */
export declare const UpdateDatasetResponseBody$outboundSchema: z.ZodType<UpdateDatasetResponseBody$Outbound, z.ZodTypeDef, UpdateDatasetResponseBody>;
export declare function updateDatasetResponseBodyToJSON(updateDatasetResponseBody: UpdateDatasetResponseBody): string;
export declare function updateDatasetResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateDatasetResponseBody, SDKValidationError>;
//# sourceMappingURL=updatedataset.d.ts.map