import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type SearchFoldersGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type Expression = {};
/**
 * The (Lucene-like) string expression specifying the search query, or an object for advanced queries. If not passed, returns all folders (up to max_results).
 */
export type ExpressionUnion = Expression | string;
export type SearchFoldersRequest = {
    /**
     * The (Lucene-like) string expression specifying the search query, or an object for advanced queries. If not passed, returns all folders (up to max_results).
     */
    expression?: 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 SearchFoldersGlobals$inboundSchema: z.ZodType<SearchFoldersGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchFoldersGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const SearchFoldersGlobals$outboundSchema: z.ZodType<SearchFoldersGlobals$Outbound, z.ZodTypeDef, SearchFoldersGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchFoldersGlobals$ {
    /** @deprecated use `SearchFoldersGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchFoldersGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchFoldersGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchFoldersGlobals$Outbound, z.ZodTypeDef, SearchFoldersGlobals>;
    /** @deprecated use `SearchFoldersGlobals$Outbound` instead. */
    type Outbound = SearchFoldersGlobals$Outbound;
}
export declare function searchFoldersGlobalsToJSON(searchFoldersGlobals: SearchFoldersGlobals): string;
export declare function searchFoldersGlobalsFromJSON(jsonString: string): SafeParseResult<SearchFoldersGlobals, SDKValidationError>;
/** @internal */
export declare const Expression$inboundSchema: z.ZodType<Expression, z.ZodTypeDef, unknown>;
/** @internal */
export type Expression$Outbound = {};
/** @internal */
export declare const Expression$outboundSchema: z.ZodType<Expression$Outbound, z.ZodTypeDef, Expression>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Expression$ {
    /** @deprecated use `Expression$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Expression, z.ZodTypeDef, unknown>;
    /** @deprecated use `Expression$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Expression$Outbound, z.ZodTypeDef, Expression>;
    /** @deprecated use `Expression$Outbound` instead. */
    type Outbound = Expression$Outbound;
}
export declare function expressionToJSON(expression: Expression): string;
export declare function expressionFromJSON(jsonString: string): SafeParseResult<Expression, SDKValidationError>;
/** @internal */
export declare const ExpressionUnion$inboundSchema: z.ZodType<ExpressionUnion, z.ZodTypeDef, unknown>;
/** @internal */
export type ExpressionUnion$Outbound = Expression$Outbound | string;
/** @internal */
export declare const ExpressionUnion$outboundSchema: z.ZodType<ExpressionUnion$Outbound, z.ZodTypeDef, ExpressionUnion>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ExpressionUnion$ {
    /** @deprecated use `ExpressionUnion$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ExpressionUnion, z.ZodTypeDef, unknown>;
    /** @deprecated use `ExpressionUnion$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ExpressionUnion$Outbound, z.ZodTypeDef, ExpressionUnion>;
    /** @deprecated use `ExpressionUnion$Outbound` instead. */
    type Outbound = ExpressionUnion$Outbound;
}
export declare function expressionUnionToJSON(expressionUnion: ExpressionUnion): string;
export declare function expressionUnionFromJSON(jsonString: string): SafeParseResult<ExpressionUnion, SDKValidationError>;
/** @internal */
export declare const SearchFoldersRequest$inboundSchema: z.ZodType<SearchFoldersRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchFoldersRequest$Outbound = {
    expression?: Expression$Outbound | string | undefined;
    sort_by?: Array<string> | undefined;
    max_results: number;
    next_cursor?: string | undefined;
};
/** @internal */
export declare const SearchFoldersRequest$outboundSchema: z.ZodType<SearchFoldersRequest$Outbound, z.ZodTypeDef, SearchFoldersRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchFoldersRequest$ {
    /** @deprecated use `SearchFoldersRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchFoldersRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchFoldersRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchFoldersRequest$Outbound, z.ZodTypeDef, SearchFoldersRequest>;
    /** @deprecated use `SearchFoldersRequest$Outbound` instead. */
    type Outbound = SearchFoldersRequest$Outbound;
}
export declare function searchFoldersRequestToJSON(searchFoldersRequest: SearchFoldersRequest): string;
export declare function searchFoldersRequestFromJSON(jsonString: string): SafeParseResult<SearchFoldersRequest, SDKValidationError>;
//# sourceMappingURL=searchfolders.d.ts.map