import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { NamedSandbox } from "./namedsandbox.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
 * Field to sort by.
 */
export declare const QueryParamSortBy: {
    readonly CreatedAt: "createdAt";
    readonly Name: "name";
    readonly StatusUpdatedAt: "statusUpdatedAt";
    readonly CurrentSnapshotId: "currentSnapshotId";
};
/**
 * Field to sort by.
 */
export type QueryParamSortBy = ClosedEnum<typeof QueryParamSortBy>;
/**
 * Sort direction. Defaults to desc.
 */
export declare const QueryParamSortOrder: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * Sort direction. Defaults to desc.
 */
export type QueryParamSortOrder = ClosedEnum<typeof QueryParamSortOrder>;
/**
 * Filter sandboxes by tag. Format: \"key:value\". Only one tag filter is supported at a time.
 */
export type QueryParamTags = string | Array<string>;
export type ListSandboxesRequest = {
    /**
     * The unique identifier or name of the project to list named sandboxes for.
     */
    project?: string | undefined;
    /**
     * Maximum number of named sandboxes to return in the response. Used for pagination.
     */
    limit?: number | undefined;
    /**
     * Field to sort by.
     */
    sortBy?: QueryParamSortBy | undefined;
    /**
     * Filter named sandboxes whose name starts with this prefix. Only valid when sortBy=name.
     */
    namePrefix?: string | undefined;
    /**
     * Opaque pagination cursor from a previous response.
     */
    cursor?: string | undefined;
    /**
     * Sort direction. Defaults to desc.
     */
    sortOrder?: QueryParamSortOrder | undefined;
    /**
     * Filter sandboxes by tag. Format: \"key:value\". Only one tag filter is supported at a time.
     */
    tags?: string | Array<string> | undefined;
    /**
     * The Team identifier to perform the request on behalf of.
     */
    teamId?: string | undefined;
    /**
     * The Team slug to perform the request on behalf of.
     */
    slug?: string | undefined;
};
export type ListSandboxesPagination = {
    count: number;
    next: string | null;
};
export type ListSandboxesResponseBody = {
    sandboxes: Array<NamedSandbox>;
    pagination: ListSandboxesPagination;
};
/** @internal */
export declare const QueryParamSortBy$outboundSchema: z.ZodNativeEnum<typeof QueryParamSortBy>;
/** @internal */
export declare const QueryParamSortOrder$outboundSchema: z.ZodNativeEnum<typeof QueryParamSortOrder>;
/** @internal */
export type QueryParamTags$Outbound = string | Array<string>;
/** @internal */
export declare const QueryParamTags$outboundSchema: z.ZodType<QueryParamTags$Outbound, z.ZodTypeDef, QueryParamTags>;
export declare function queryParamTagsToJSON(queryParamTags: QueryParamTags): string;
/** @internal */
export type ListSandboxesRequest$Outbound = {
    project?: string | undefined;
    limit: number;
    sortBy: string;
    namePrefix?: string | undefined;
    cursor?: string | undefined;
    sortOrder: string;
    tags?: string | Array<string> | undefined;
    teamId?: string | undefined;
    slug?: string | undefined;
};
/** @internal */
export declare const ListSandboxesRequest$outboundSchema: z.ZodType<ListSandboxesRequest$Outbound, z.ZodTypeDef, ListSandboxesRequest>;
export declare function listSandboxesRequestToJSON(listSandboxesRequest: ListSandboxesRequest): string;
/** @internal */
export declare const ListSandboxesPagination$inboundSchema: z.ZodType<ListSandboxesPagination, z.ZodTypeDef, unknown>;
export declare function listSandboxesPaginationFromJSON(jsonString: string): SafeParseResult<ListSandboxesPagination, SDKValidationError>;
/** @internal */
export declare const ListSandboxesResponseBody$inboundSchema: z.ZodType<ListSandboxesResponseBody, z.ZodTypeDef, unknown>;
export declare function listSandboxesResponseBodyFromJSON(jsonString: string): SafeParseResult<ListSandboxesResponseBody, SDKValidationError>;
//# sourceMappingURL=listsandboxesop.d.ts.map