import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { DirectionEnum } from "./directionenum.js"; export declare const Type: { readonly Bytes: "bytes"; readonly ImagePixels: "image_pixels"; readonly VideoPixels: "video_pixels"; readonly Duration: "duration"; }; export type Type = ClosedEnum; export declare const Type$zodSchema: z.ZodEnum<{ bytes: "bytes"; duration: "duration"; image_pixels: "image_pixels"; video_pixels: "video_pixels"; }>; export type SearchParametersRange = { key: string; from?: number | undefined; to?: number | undefined; }; export declare const SearchParametersRange$zodSchema: z.ZodType; export type Aggregate = { type: Type; ranges: Array; }; export declare const Aggregate$zodSchema: z.ZodType; export declare const AggregateEnum: { readonly Format: "format"; readonly ResourceType: "resource_type"; readonly Type: "type"; }; export type AggregateEnum = ClosedEnum; export declare const AggregateEnum$zodSchema: z.ZodEnum<{ type: "type"; format: "format"; resource_type: "resource_type"; }>; /** * Fields or ranges to aggregate search results by. Requires a Tier 2 search plan; on Tier 1 the field is accepted but aggregations are omitted from the response. * * @remarks */ export type AggregateUnion = Array | Array; export declare const AggregateUnion$zodSchema: z.ZodType; export declare const WithField: { readonly Context: "context"; readonly Tags: "tags"; readonly ImageMetadata: "image_metadata"; readonly ImageAnalysis: "image_analysis"; readonly Metadata: "metadata"; readonly QualityAnalysis: "quality_analysis"; readonly AccessibilityAnalysis: "accessibility_analysis"; }; export type WithField = ClosedEnum; export declare const WithField$zodSchema: z.ZodEnum<{ metadata: "metadata"; context: "context"; accessibility_analysis: "accessibility_analysis"; quality_analysis: "quality_analysis"; tags: "tags"; image_metadata: "image_metadata"; image_analysis: "image_analysis"; }>; /** * Common parameters for resource search operations. */ export type SearchParameters = { expression?: string | undefined; sort_by?: Array<{ [k: string]: DirectionEnum; }> | undefined; max_results?: number | undefined; next_cursor?: string | undefined; aggregate?: Array | Array | undefined; with_field?: Array | undefined; fields?: string | undefined; }; export declare const SearchParameters$zodSchema: z.ZodType; //# sourceMappingURL=searchparameters.d.ts.map