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 FoldersSearchResponse = {
    /**
     * The total number of folders matching the search.
     */
    totalCount: number;
    /**
     * The time taken to execute the search (ms).
     */
    time: number;
    /**
     * A cursor for pagination.
     */
    nextCursor?: string | null | undefined;
    /**
     * The folders matching the search.
     */
    folders: Array<Folder>;
};
/** @internal */
export declare const FoldersSearchResponse$inboundSchema: z.ZodType<FoldersSearchResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type FoldersSearchResponse$Outbound = {
    total_count: number;
    time: number;
    next_cursor?: string | null | undefined;
    folders: Array<Folder$Outbound>;
};
/** @internal */
export declare const FoldersSearchResponse$outboundSchema: z.ZodType<FoldersSearchResponse$Outbound, z.ZodTypeDef, FoldersSearchResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace FoldersSearchResponse$ {
    /** @deprecated use `FoldersSearchResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<FoldersSearchResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `FoldersSearchResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<FoldersSearchResponse$Outbound, z.ZodTypeDef, FoldersSearchResponse>;
    /** @deprecated use `FoldersSearchResponse$Outbound` instead. */
    type Outbound = FoldersSearchResponse$Outbound;
}
export declare function foldersSearchResponseToJSON(foldersSearchResponse: FoldersSearchResponse): string;
export declare function foldersSearchResponseFromJSON(jsonString: string): SafeParseResult<FoldersSearchResponse, SDKValidationError>;
//# sourceMappingURL=folderssearchresponse.d.ts.map