import * as z from "zod/v4"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type ListWorkspacesGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type ListWorkspacesRequest = { /** * Search workspaces by name */ search?: string | undefined; /** * Maximum number of items to return per page */ limit?: number | undefined; /** * Cursor for pagination - omit for first page */ cursor?: string | undefined; }; /** * Paginated response */ export type ListWorkspacesResponse = { /** * Items in this page */ items: Array; /** * Cursor for the next page, null if last page */ nextCursor: string | null; }; /** @internal */ export type ListWorkspacesRequest$Outbound = { search?: string | undefined; limit: number; cursor?: string | undefined; }; /** @internal */ export declare const ListWorkspacesRequest$outboundSchema: z.ZodType; export declare function listWorkspacesRequestToJSON(listWorkspacesRequest: ListWorkspacesRequest): string; /** @internal */ export declare const ListWorkspacesResponse$inboundSchema: z.ZodType; export declare function listWorkspacesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listworkspaces.d.ts.map