import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type SearchFoldersPostGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type SearchFoldersPostRequest = {
    /**
     * The (Lucene-like) string expression specifying the search query.
     */
    expression?: string | undefined;
    /**
     * An array of key-value pairs for sorting. Each value is a key and direction (asc/desc).
     */
    sortBy?: Array<string> | undefined;
    /**
     * Maximum number of folders to return (max 500, default 50).
     */
    maxResults?: number | undefined;
    /**
     * When more results are available, use the next_cursor value from the previous response.
     */
    nextCursor?: string | undefined;
};
/** @internal */
export declare const SearchFoldersPostGlobals$inboundSchema: z.ZodType<SearchFoldersPostGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchFoldersPostGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const SearchFoldersPostGlobals$outboundSchema: z.ZodType<SearchFoldersPostGlobals$Outbound, z.ZodTypeDef, SearchFoldersPostGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchFoldersPostGlobals$ {
    /** @deprecated use `SearchFoldersPostGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchFoldersPostGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchFoldersPostGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchFoldersPostGlobals$Outbound, z.ZodTypeDef, SearchFoldersPostGlobals>;
    /** @deprecated use `SearchFoldersPostGlobals$Outbound` instead. */
    type Outbound = SearchFoldersPostGlobals$Outbound;
}
export declare function searchFoldersPostGlobalsToJSON(searchFoldersPostGlobals: SearchFoldersPostGlobals): string;
export declare function searchFoldersPostGlobalsFromJSON(jsonString: string): SafeParseResult<SearchFoldersPostGlobals, SDKValidationError>;
/** @internal */
export declare const SearchFoldersPostRequest$inboundSchema: z.ZodType<SearchFoldersPostRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchFoldersPostRequest$Outbound = {
    expression?: string | undefined;
    sort_by?: Array<string> | undefined;
    max_results: number;
    next_cursor?: string | undefined;
};
/** @internal */
export declare const SearchFoldersPostRequest$outboundSchema: z.ZodType<SearchFoldersPostRequest$Outbound, z.ZodTypeDef, SearchFoldersPostRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchFoldersPostRequest$ {
    /** @deprecated use `SearchFoldersPostRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchFoldersPostRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchFoldersPostRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchFoldersPostRequest$Outbound, z.ZodTypeDef, SearchFoldersPostRequest>;
    /** @deprecated use `SearchFoldersPostRequest$Outbound` instead. */
    type Outbound = SearchFoldersPostRequest$Outbound;
}
export declare function searchFoldersPostRequestToJSON(searchFoldersPostRequest: SearchFoldersPostRequest): string;
export declare function searchFoldersPostRequestFromJSON(jsonString: string): SafeParseResult<SearchFoldersPostRequest, SDKValidationError>;
//# sourceMappingURL=searchfolderspost.d.ts.map