import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Folder, Folder$Outbound } from "./folder.js";
export type FoldersListResponse = {
    /**
     * The root folders in the product environment.
     */
    folders: Array<Folder>;
    /**
     * A cursor for pagination. Always null for root folders.
     */
    nextCursor: string | null;
    /**
     * The total number of root folders.
     */
    totalCount: number;
};
/** @internal */
export declare const FoldersListResponse$inboundSchema: z.ZodType<FoldersListResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type FoldersListResponse$Outbound = {
    folders: Array<Folder$Outbound>;
    next_cursor: string | null;
    total_count: number;
};
/** @internal */
export declare const FoldersListResponse$outboundSchema: z.ZodType<FoldersListResponse$Outbound, z.ZodTypeDef, FoldersListResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace FoldersListResponse$ {
    /** @deprecated use `FoldersListResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<FoldersListResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `FoldersListResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<FoldersListResponse$Outbound, z.ZodTypeDef, FoldersListResponse>;
    /** @deprecated use `FoldersListResponse$Outbound` instead. */
    type Outbound = FoldersListResponse$Outbound;
}
export declare function foldersListResponseToJSON(foldersListResponse: FoldersListResponse): string;
export declare function foldersListResponseFromJSON(jsonString: string): SafeParseResult<FoldersListResponse, SDKValidationError>;
//# sourceMappingURL=folderslistresponse.d.ts.map