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<typeof Type>;
export declare const Type$zodSchema: z.ZodEnum<{
    bytes: "bytes";
    duration: "duration";
    image_pixels: "image_pixels";
    video_pixels: "video_pixels";
}>;
export type SearchParametersRange = {
    from?: number | undefined;
    to?: number | undefined;
};
export declare const SearchParametersRange$zodSchema: z.ZodType<SearchParametersRange>;
export type Aggregate = {
    type: Type;
    ranges: Array<SearchParametersRange>;
};
export declare const Aggregate$zodSchema: z.ZodType<Aggregate>;
export declare const AggregateEnum: {
    readonly Format: "format";
    readonly ResourceType: "resource_type";
    readonly Type: "type";
};
export type AggregateEnum = ClosedEnum<typeof AggregateEnum>;
export declare const AggregateEnum$zodSchema: z.ZodEnum<{
    type: "type";
    format: "format";
    resource_type: "resource_type";
}>;
/**
 * Fields or ranges to aggregate search results by.
 */
export type AggregateUnion = Array<AggregateEnum> | Array<Aggregate>;
export declare const AggregateUnion$zodSchema: z.ZodType<AggregateUnion>;
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<typeof WithField>;
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<AggregateEnum> | Array<Aggregate> | undefined;
    with_field?: Array<WithField> | undefined;
    fields?: string | undefined;
};
export declare const SearchParameters$zodSchema: z.ZodType<SearchParameters>;
//# sourceMappingURL=searchparameters.d.ts.map