import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The type of resource.
 */
export declare const SearchResponseResourceType: {
    readonly Image: "image";
    readonly Video: "video";
    readonly Raw: "raw";
};
/**
 * The type of resource.
 */
export type SearchResponseResourceType = ClosedEnum<typeof SearchResponseResourceType>;
/**
 * The delivery type of the asset.
 */
export declare const SearchResponseType: {
    readonly Upload: "upload";
    readonly Private: "private";
    readonly Authenticated: "authenticated";
    readonly List: "list";
    readonly Fetch: "fetch";
};
/**
 * The delivery type of the asset.
 */
export type SearchResponseType = ClosedEnum<typeof SearchResponseType>;
/**
 * The current status of the asset.
 */
export declare const SearchResponseStatus: {
    readonly Active: "active";
    readonly Inactive: "inactive";
};
/**
 * The current status of the asset.
 */
export type SearchResponseStatus = ClosedEnum<typeof SearchResponseStatus>;
/**
 * The access mode of the asset.
 */
export declare const SearchResponseAccessMode: {
    readonly Public: "public";
    readonly Authenticated: "authenticated";
};
/**
 * The access mode of the asset.
 */
export type SearchResponseAccessMode = ClosedEnum<typeof SearchResponseAccessMode>;
/**
 * The access control settings for the asset.
 */
export type SearchResponseAccessControl = {};
/**
 * Information about who created the asset.
 */
export type CreatedBy = {
    /**
     * The access key of the user who created the asset.
     */
    accessKey?: string | undefined;
};
/**
 * Information about who uploaded the asset.
 */
export type UploadedBy = {
    /**
     * The access key of the user who uploaded the asset.
     */
    accessKey?: string | undefined;
};
/**
 * Custom context metadata associated with the asset.
 */
export type SearchResponseContext = {};
/**
 * Technical metadata extracted from the image.
 */
export type SearchResponseImageMetadata = {};
/**
 * Results of image analysis.
 */
export type ImageAnalysis = {};
/**
 * Structured metadata associated with the asset.
 */
export type Metadata = {};
/**
 * Results of quality analysis.
 */
export type QualityAnalysis = {};
/**
 * Results of accessibility analysis.
 */
export type AccessibilityAnalysis = {};
/**
 * Resource fields that can be returned. All fields are optional and can be filtered using the fields parameter.
 */
export type Resource = {
    /**
     * The unique identifier of the asset.
     */
    assetId?: string | undefined;
    /**
     * The public identifier that is used to build the URL.
     */
    publicId?: string | undefined;
    /**
     * The folder where the asset is stored.
     */
    assetFolder?: string | undefined;
    /**
     * The original filename of the asset.
     */
    filename?: string | undefined;
    /**
     * The display name of the asset.
     */
    displayName?: string | undefined;
    /**
     * The format of the asset.
     */
    format?: string | undefined;
    /**
     * The version number of the asset.
     */
    version?: number | undefined;
    /**
     * The type of resource.
     */
    resourceType?: SearchResponseResourceType | undefined;
    /**
     * The delivery type of the asset.
     */
    type?: SearchResponseType | undefined;
    /**
     * The timestamp when the asset was created.
     */
    createdAt?: Date | undefined;
    /**
     * The timestamp when the asset was uploaded.
     */
    uploadedAt?: Date | undefined;
    /**
     * The size of the asset in bytes.
     */
    bytes?: number | undefined;
    /**
     * The size of the backup asset in bytes.
     */
    backupBytes?: number | undefined;
    /**
     * The width of the asset in pixels.
     */
    width?: number | undefined;
    /**
     * The height of the asset in pixels.
     */
    height?: number | undefined;
    /**
     * The aspect ratio of the asset (width/height).
     */
    aspectRatio?: number | undefined;
    /**
     * The total number of pixels in the asset.
     */
    pixels?: number | undefined;
    /**
     * The HTTP URL for accessing the asset.
     */
    url?: string | undefined;
    /**
     * The HTTPS URL for accessing the asset.
     */
    secureUrl?: string | undefined;
    /**
     * The current status of the asset.
     */
    status?: SearchResponseStatus | undefined;
    /**
     * The access mode of the asset.
     */
    accessMode?: SearchResponseAccessMode | undefined;
    /**
     * The access control settings for the asset.
     */
    accessControl?: SearchResponseAccessControl | null | undefined;
    /**
     * The ETag of the asset.
     */
    etag?: string | undefined;
    /**
     * Information about who created the asset.
     */
    createdBy?: CreatedBy | undefined;
    /**
     * Information about who uploaded the asset.
     */
    uploadedBy?: UploadedBy | undefined;
    /**
     * Custom context metadata associated with the asset.
     */
    context?: SearchResponseContext | undefined;
    /**
     * Tags associated with the asset.
     */
    tags?: Array<string> | undefined;
    /**
     * Technical metadata extracted from the image.
     */
    imageMetadata?: SearchResponseImageMetadata | undefined;
    /**
     * Results of image analysis.
     */
    imageAnalysis?: ImageAnalysis | undefined;
    /**
     * Structured metadata associated with the asset.
     */
    metadata?: Metadata | undefined;
    /**
     * Results of quality analysis.
     */
    qualityAnalysis?: QualityAnalysis | undefined;
    /**
     * Results of accessibility analysis.
     */
    accessibilityAnalysis?: AccessibilityAnalysis | undefined;
};
export type Value = {
    /**
     * The value being aggregated
     */
    value?: string | undefined;
    /**
     * The count of resources with this value
     */
    count?: number | undefined;
};
export type SearchResponseRange = {
    /**
     * Start of the range (inclusive)
     */
    from?: number | undefined;
    /**
     * End of the range (exclusive)
     */
    to?: number | undefined;
    /**
     * The count of resources within this range
     */
    count?: number | undefined;
};
/**
 * Aggregation results when the aggregate parameter is used in the request. Only included when aggregations are requested.
 */
export type Aggregations = {
    /**
     * Array of aggregation values when using simple aggregation (e.g., by format, resource_type, etc.)
     */
    values?: Array<Value> | undefined;
    /**
     * Array of range-based aggregation results when using range aggregation (e.g., bytes, width, height, etc.)
     */
    ranges?: Array<SearchResponseRange> | undefined;
};
/**
 * The response object returned by search operations.
 */
export type SearchResponse = {
    /**
     * The total number of resources matching the search criteria.
     */
    totalCount?: number | undefined;
    /**
     * The time taken to execute the search query in milliseconds.
     */
    time?: number | undefined;
    /**
     * The list of resources matching the search criteria. Can be empty if no results found.
     */
    resources?: Array<Resource> | undefined;
    /**
     * A cursor for pagination. Only included when there are more results available.
     */
    nextCursor?: string | null | undefined;
    /**
     * Aggregation results when the aggregate parameter is used in the request. Only included when aggregations are requested.
     */
    aggregations?: Aggregations | undefined;
};
/** @internal */
export declare const SearchResponseResourceType$inboundSchema: z.ZodNativeEnum<typeof SearchResponseResourceType>;
/** @internal */
export declare const SearchResponseResourceType$outboundSchema: z.ZodNativeEnum<typeof SearchResponseResourceType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseResourceType$ {
    /** @deprecated use `SearchResponseResourceType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Image: "image";
        readonly Video: "video";
        readonly Raw: "raw";
    }>;
    /** @deprecated use `SearchResponseResourceType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Image: "image";
        readonly Video: "video";
        readonly Raw: "raw";
    }>;
}
/** @internal */
export declare const SearchResponseType$inboundSchema: z.ZodNativeEnum<typeof SearchResponseType>;
/** @internal */
export declare const SearchResponseType$outboundSchema: z.ZodNativeEnum<typeof SearchResponseType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseType$ {
    /** @deprecated use `SearchResponseType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly List: "list";
        readonly Fetch: "fetch";
    }>;
    /** @deprecated use `SearchResponseType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly List: "list";
        readonly Fetch: "fetch";
    }>;
}
/** @internal */
export declare const SearchResponseStatus$inboundSchema: z.ZodNativeEnum<typeof SearchResponseStatus>;
/** @internal */
export declare const SearchResponseStatus$outboundSchema: z.ZodNativeEnum<typeof SearchResponseStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseStatus$ {
    /** @deprecated use `SearchResponseStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Inactive: "inactive";
    }>;
    /** @deprecated use `SearchResponseStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Inactive: "inactive";
    }>;
}
/** @internal */
export declare const SearchResponseAccessMode$inboundSchema: z.ZodNativeEnum<typeof SearchResponseAccessMode>;
/** @internal */
export declare const SearchResponseAccessMode$outboundSchema: z.ZodNativeEnum<typeof SearchResponseAccessMode>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseAccessMode$ {
    /** @deprecated use `SearchResponseAccessMode$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Public: "public";
        readonly Authenticated: "authenticated";
    }>;
    /** @deprecated use `SearchResponseAccessMode$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Public: "public";
        readonly Authenticated: "authenticated";
    }>;
}
/** @internal */
export declare const SearchResponseAccessControl$inboundSchema: z.ZodType<SearchResponseAccessControl, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchResponseAccessControl$Outbound = {};
/** @internal */
export declare const SearchResponseAccessControl$outboundSchema: z.ZodType<SearchResponseAccessControl$Outbound, z.ZodTypeDef, SearchResponseAccessControl>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseAccessControl$ {
    /** @deprecated use `SearchResponseAccessControl$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchResponseAccessControl, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchResponseAccessControl$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchResponseAccessControl$Outbound, z.ZodTypeDef, SearchResponseAccessControl>;
    /** @deprecated use `SearchResponseAccessControl$Outbound` instead. */
    type Outbound = SearchResponseAccessControl$Outbound;
}
export declare function searchResponseAccessControlToJSON(searchResponseAccessControl: SearchResponseAccessControl): string;
export declare function searchResponseAccessControlFromJSON(jsonString: string): SafeParseResult<SearchResponseAccessControl, SDKValidationError>;
/** @internal */
export declare const CreatedBy$inboundSchema: z.ZodType<CreatedBy, z.ZodTypeDef, unknown>;
/** @internal */
export type CreatedBy$Outbound = {
    access_key?: string | undefined;
};
/** @internal */
export declare const CreatedBy$outboundSchema: z.ZodType<CreatedBy$Outbound, z.ZodTypeDef, CreatedBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreatedBy$ {
    /** @deprecated use `CreatedBy$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreatedBy, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreatedBy$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreatedBy$Outbound, z.ZodTypeDef, CreatedBy>;
    /** @deprecated use `CreatedBy$Outbound` instead. */
    type Outbound = CreatedBy$Outbound;
}
export declare function createdByToJSON(createdBy: CreatedBy): string;
export declare function createdByFromJSON(jsonString: string): SafeParseResult<CreatedBy, SDKValidationError>;
/** @internal */
export declare const UploadedBy$inboundSchema: z.ZodType<UploadedBy, z.ZodTypeDef, unknown>;
/** @internal */
export type UploadedBy$Outbound = {
    access_key?: string | undefined;
};
/** @internal */
export declare const UploadedBy$outboundSchema: z.ZodType<UploadedBy$Outbound, z.ZodTypeDef, UploadedBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UploadedBy$ {
    /** @deprecated use `UploadedBy$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UploadedBy, z.ZodTypeDef, unknown>;
    /** @deprecated use `UploadedBy$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UploadedBy$Outbound, z.ZodTypeDef, UploadedBy>;
    /** @deprecated use `UploadedBy$Outbound` instead. */
    type Outbound = UploadedBy$Outbound;
}
export declare function uploadedByToJSON(uploadedBy: UploadedBy): string;
export declare function uploadedByFromJSON(jsonString: string): SafeParseResult<UploadedBy, SDKValidationError>;
/** @internal */
export declare const SearchResponseContext$inboundSchema: z.ZodType<SearchResponseContext, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchResponseContext$Outbound = {};
/** @internal */
export declare const SearchResponseContext$outboundSchema: z.ZodType<SearchResponseContext$Outbound, z.ZodTypeDef, SearchResponseContext>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseContext$ {
    /** @deprecated use `SearchResponseContext$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchResponseContext, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchResponseContext$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchResponseContext$Outbound, z.ZodTypeDef, SearchResponseContext>;
    /** @deprecated use `SearchResponseContext$Outbound` instead. */
    type Outbound = SearchResponseContext$Outbound;
}
export declare function searchResponseContextToJSON(searchResponseContext: SearchResponseContext): string;
export declare function searchResponseContextFromJSON(jsonString: string): SafeParseResult<SearchResponseContext, SDKValidationError>;
/** @internal */
export declare const SearchResponseImageMetadata$inboundSchema: z.ZodType<SearchResponseImageMetadata, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchResponseImageMetadata$Outbound = {};
/** @internal */
export declare const SearchResponseImageMetadata$outboundSchema: z.ZodType<SearchResponseImageMetadata$Outbound, z.ZodTypeDef, SearchResponseImageMetadata>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseImageMetadata$ {
    /** @deprecated use `SearchResponseImageMetadata$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchResponseImageMetadata, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchResponseImageMetadata$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchResponseImageMetadata$Outbound, z.ZodTypeDef, SearchResponseImageMetadata>;
    /** @deprecated use `SearchResponseImageMetadata$Outbound` instead. */
    type Outbound = SearchResponseImageMetadata$Outbound;
}
export declare function searchResponseImageMetadataToJSON(searchResponseImageMetadata: SearchResponseImageMetadata): string;
export declare function searchResponseImageMetadataFromJSON(jsonString: string): SafeParseResult<SearchResponseImageMetadata, SDKValidationError>;
/** @internal */
export declare const ImageAnalysis$inboundSchema: z.ZodType<ImageAnalysis, z.ZodTypeDef, unknown>;
/** @internal */
export type ImageAnalysis$Outbound = {};
/** @internal */
export declare const ImageAnalysis$outboundSchema: z.ZodType<ImageAnalysis$Outbound, z.ZodTypeDef, ImageAnalysis>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ImageAnalysis$ {
    /** @deprecated use `ImageAnalysis$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ImageAnalysis, z.ZodTypeDef, unknown>;
    /** @deprecated use `ImageAnalysis$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ImageAnalysis$Outbound, z.ZodTypeDef, ImageAnalysis>;
    /** @deprecated use `ImageAnalysis$Outbound` instead. */
    type Outbound = ImageAnalysis$Outbound;
}
export declare function imageAnalysisToJSON(imageAnalysis: ImageAnalysis): string;
export declare function imageAnalysisFromJSON(jsonString: string): SafeParseResult<ImageAnalysis, SDKValidationError>;
/** @internal */
export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
/** @internal */
export type Metadata$Outbound = {};
/** @internal */
export declare const Metadata$outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Metadata$ {
    /** @deprecated use `Metadata$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
    /** @deprecated use `Metadata$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
    /** @deprecated use `Metadata$Outbound` instead. */
    type Outbound = Metadata$Outbound;
}
export declare function metadataToJSON(metadata: Metadata): string;
export declare function metadataFromJSON(jsonString: string): SafeParseResult<Metadata, SDKValidationError>;
/** @internal */
export declare const QualityAnalysis$inboundSchema: z.ZodType<QualityAnalysis, z.ZodTypeDef, unknown>;
/** @internal */
export type QualityAnalysis$Outbound = {};
/** @internal */
export declare const QualityAnalysis$outboundSchema: z.ZodType<QualityAnalysis$Outbound, z.ZodTypeDef, QualityAnalysis>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace QualityAnalysis$ {
    /** @deprecated use `QualityAnalysis$inboundSchema` instead. */
    const inboundSchema: z.ZodType<QualityAnalysis, z.ZodTypeDef, unknown>;
    /** @deprecated use `QualityAnalysis$outboundSchema` instead. */
    const outboundSchema: z.ZodType<QualityAnalysis$Outbound, z.ZodTypeDef, QualityAnalysis>;
    /** @deprecated use `QualityAnalysis$Outbound` instead. */
    type Outbound = QualityAnalysis$Outbound;
}
export declare function qualityAnalysisToJSON(qualityAnalysis: QualityAnalysis): string;
export declare function qualityAnalysisFromJSON(jsonString: string): SafeParseResult<QualityAnalysis, SDKValidationError>;
/** @internal */
export declare const AccessibilityAnalysis$inboundSchema: z.ZodType<AccessibilityAnalysis, z.ZodTypeDef, unknown>;
/** @internal */
export type AccessibilityAnalysis$Outbound = {};
/** @internal */
export declare const AccessibilityAnalysis$outboundSchema: z.ZodType<AccessibilityAnalysis$Outbound, z.ZodTypeDef, AccessibilityAnalysis>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccessibilityAnalysis$ {
    /** @deprecated use `AccessibilityAnalysis$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccessibilityAnalysis, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccessibilityAnalysis$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccessibilityAnalysis$Outbound, z.ZodTypeDef, AccessibilityAnalysis>;
    /** @deprecated use `AccessibilityAnalysis$Outbound` instead. */
    type Outbound = AccessibilityAnalysis$Outbound;
}
export declare function accessibilityAnalysisToJSON(accessibilityAnalysis: AccessibilityAnalysis): string;
export declare function accessibilityAnalysisFromJSON(jsonString: string): SafeParseResult<AccessibilityAnalysis, SDKValidationError>;
/** @internal */
export declare const Resource$inboundSchema: z.ZodType<Resource, z.ZodTypeDef, unknown>;
/** @internal */
export type Resource$Outbound = {
    asset_id?: string | undefined;
    public_id?: string | undefined;
    asset_folder?: string | undefined;
    filename?: string | undefined;
    display_name?: string | undefined;
    format?: string | undefined;
    version?: number | undefined;
    resource_type?: string | undefined;
    type?: string | undefined;
    created_at?: string | undefined;
    uploaded_at?: string | undefined;
    bytes?: number | undefined;
    backup_bytes?: number | undefined;
    width?: number | undefined;
    height?: number | undefined;
    aspect_ratio?: number | undefined;
    pixels?: number | undefined;
    url?: string | undefined;
    secure_url?: string | undefined;
    status?: string | undefined;
    access_mode?: string | undefined;
    access_control?: SearchResponseAccessControl$Outbound | null | undefined;
    etag?: string | undefined;
    created_by?: CreatedBy$Outbound | undefined;
    uploaded_by?: UploadedBy$Outbound | undefined;
    context?: SearchResponseContext$Outbound | undefined;
    tags?: Array<string> | undefined;
    image_metadata?: SearchResponseImageMetadata$Outbound | undefined;
    image_analysis?: ImageAnalysis$Outbound | undefined;
    metadata?: Metadata$Outbound | undefined;
    quality_analysis?: QualityAnalysis$Outbound | undefined;
    accessibility_analysis?: AccessibilityAnalysis$Outbound | undefined;
};
/** @internal */
export declare const Resource$outboundSchema: z.ZodType<Resource$Outbound, z.ZodTypeDef, Resource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Resource$ {
    /** @deprecated use `Resource$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Resource, z.ZodTypeDef, unknown>;
    /** @deprecated use `Resource$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Resource$Outbound, z.ZodTypeDef, Resource>;
    /** @deprecated use `Resource$Outbound` instead. */
    type Outbound = Resource$Outbound;
}
export declare function resourceToJSON(resource: Resource): string;
export declare function resourceFromJSON(jsonString: string): SafeParseResult<Resource, SDKValidationError>;
/** @internal */
export declare const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
/** @internal */
export type Value$Outbound = {
    value?: string | undefined;
    count?: number | undefined;
};
/** @internal */
export declare const Value$outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Value$ {
    /** @deprecated use `Value$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
    /** @deprecated use `Value$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
    /** @deprecated use `Value$Outbound` instead. */
    type Outbound = Value$Outbound;
}
export declare function valueToJSON(value: Value): string;
export declare function valueFromJSON(jsonString: string): SafeParseResult<Value, SDKValidationError>;
/** @internal */
export declare const SearchResponseRange$inboundSchema: z.ZodType<SearchResponseRange, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchResponseRange$Outbound = {
    from?: number | undefined;
    to?: number | undefined;
    count?: number | undefined;
};
/** @internal */
export declare const SearchResponseRange$outboundSchema: z.ZodType<SearchResponseRange$Outbound, z.ZodTypeDef, SearchResponseRange>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponseRange$ {
    /** @deprecated use `SearchResponseRange$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchResponseRange, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchResponseRange$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchResponseRange$Outbound, z.ZodTypeDef, SearchResponseRange>;
    /** @deprecated use `SearchResponseRange$Outbound` instead. */
    type Outbound = SearchResponseRange$Outbound;
}
export declare function searchResponseRangeToJSON(searchResponseRange: SearchResponseRange): string;
export declare function searchResponseRangeFromJSON(jsonString: string): SafeParseResult<SearchResponseRange, SDKValidationError>;
/** @internal */
export declare const Aggregations$inboundSchema: z.ZodType<Aggregations, z.ZodTypeDef, unknown>;
/** @internal */
export type Aggregations$Outbound = {
    values?: Array<Value$Outbound> | undefined;
    ranges?: Array<SearchResponseRange$Outbound> | undefined;
};
/** @internal */
export declare const Aggregations$outboundSchema: z.ZodType<Aggregations$Outbound, z.ZodTypeDef, Aggregations>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Aggregations$ {
    /** @deprecated use `Aggregations$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Aggregations, z.ZodTypeDef, unknown>;
    /** @deprecated use `Aggregations$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Aggregations$Outbound, z.ZodTypeDef, Aggregations>;
    /** @deprecated use `Aggregations$Outbound` instead. */
    type Outbound = Aggregations$Outbound;
}
export declare function aggregationsToJSON(aggregations: Aggregations): string;
export declare function aggregationsFromJSON(jsonString: string): SafeParseResult<Aggregations, SDKValidationError>;
/** @internal */
export declare const SearchResponse$inboundSchema: z.ZodType<SearchResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type SearchResponse$Outbound = {
    total_count?: number | undefined;
    time?: number | undefined;
    resources?: Array<Resource$Outbound> | undefined;
    next_cursor?: string | null | undefined;
    aggregations?: Aggregations$Outbound | undefined;
};
/** @internal */
export declare const SearchResponse$outboundSchema: z.ZodType<SearchResponse$Outbound, z.ZodTypeDef, SearchResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SearchResponse$ {
    /** @deprecated use `SearchResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SearchResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `SearchResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SearchResponse$Outbound, z.ZodTypeDef, SearchResponse>;
    /** @deprecated use `SearchResponse$Outbound` instead. */
    type Outbound = SearchResponse$Outbound;
}
export declare function searchResponseToJSON(searchResponse: SearchResponse): string;
export declare function searchResponseFromJSON(jsonString: string): SafeParseResult<SearchResponse, SDKValidationError>;
//# sourceMappingURL=searchresponse.d.ts.map