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 ListDatasetsRequest = {
    /**
     * 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 ListDatasetsObject: {
    readonly List: "list";
};
export type ListDatasetsObject = ClosedEnum<typeof ListDatasetsObject>;
export type ListDatasetsMetadata = {
    totalVersions: number;
    datapointsCount: number;
};
export type ListDatasetsData = {
    /**
     * 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: ListDatasetsMetadata;
    /**
     * 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;
};
/**
 * Datasets Retrieved Successfully
 */
export type ListDatasetsResponseBody = {
    object: ListDatasetsObject;
    data: Array<ListDatasetsData>;
    hasMore: boolean;
};
/** @internal */
export type ListDatasetsRequest$Outbound = {
    limit: number;
    starting_after?: string | undefined;
    ending_before?: string | undefined;
};
/** @internal */
export declare const ListDatasetsRequest$outboundSchema: z.ZodType<ListDatasetsRequest$Outbound, z.ZodTypeDef, ListDatasetsRequest>;
export declare function listDatasetsRequestToJSON(listDatasetsRequest: ListDatasetsRequest): string;
/** @internal */
export declare const ListDatasetsObject$inboundSchema: z.ZodNativeEnum<typeof ListDatasetsObject>;
/** @internal */
export declare const ListDatasetsMetadata$inboundSchema: z.ZodType<ListDatasetsMetadata, z.ZodTypeDef, unknown>;
export declare function listDatasetsMetadataFromJSON(jsonString: string): SafeParseResult<ListDatasetsMetadata, SDKValidationError>;
/** @internal */
export declare const ListDatasetsData$inboundSchema: z.ZodType<ListDatasetsData, z.ZodTypeDef, unknown>;
export declare function listDatasetsDataFromJSON(jsonString: string): SafeParseResult<ListDatasetsData, SDKValidationError>;
/** @internal */
export declare const ListDatasetsResponseBody$inboundSchema: z.ZodType<ListDatasetsResponseBody, z.ZodTypeDef, unknown>;
export declare function listDatasetsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListDatasetsResponseBody, SDKValidationError>;
//# sourceMappingURL=listdatasets.d.ts.map