import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The order to sort the response by
 */
export declare const GetAllResultsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllResultsOrderBy = ClosedEnum<typeof GetAllResultsOrderBy>;
export type GetAllResultsRequest = {
    /**
     * Comma-separated list of fields to include in the response
     */
    fields?: string | undefined;
    /**
     * The maximum number of items to return in the paginated response
     */
    limit?: number | undefined;
    /**
     * The number of items to skip in the paginated response
     */
    offset?: number | undefined;
    /**
     * The field to sort the response by
     */
    sort?: string | undefined;
    /**
     * The order to sort the response by
     */
    orderBy?: GetAllResultsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Successful response containing a collection of results
 */
export type GetAllResultsResponseBody = {
    results: Array<components.Result>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllResultsResponse = {
    result: GetAllResultsResponseBody;
};
/** @internal */
export declare const GetAllResultsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllResultsOrderBy>;
/** @internal */
export declare const GetAllResultsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllResultsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResultsOrderBy$ {
    /** @deprecated use `GetAllResultsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllResultsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllResultsRequest$inboundSchema: z.ZodType<GetAllResultsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllResultsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllResultsRequest$outboundSchema: z.ZodType<GetAllResultsRequest$Outbound, z.ZodTypeDef, GetAllResultsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResultsRequest$ {
    /** @deprecated use `GetAllResultsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllResultsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllResultsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllResultsRequest$Outbound, z.ZodTypeDef, GetAllResultsRequest>;
    /** @deprecated use `GetAllResultsRequest$Outbound` instead. */
    type Outbound = GetAllResultsRequest$Outbound;
}
export declare function getAllResultsRequestToJSON(getAllResultsRequest: GetAllResultsRequest): string;
export declare function getAllResultsRequestFromJSON(jsonString: string): SafeParseResult<GetAllResultsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllResultsResponseBody$inboundSchema: z.ZodType<GetAllResultsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllResultsResponseBody$Outbound = {
    results: Array<components.Result$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllResultsResponseBody$outboundSchema: z.ZodType<GetAllResultsResponseBody$Outbound, z.ZodTypeDef, GetAllResultsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResultsResponseBody$ {
    /** @deprecated use `GetAllResultsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllResultsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllResultsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllResultsResponseBody$Outbound, z.ZodTypeDef, GetAllResultsResponseBody>;
    /** @deprecated use `GetAllResultsResponseBody$Outbound` instead. */
    type Outbound = GetAllResultsResponseBody$Outbound;
}
export declare function getAllResultsResponseBodyToJSON(getAllResultsResponseBody: GetAllResultsResponseBody): string;
export declare function getAllResultsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllResultsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllResultsResponse$inboundSchema: z.ZodType<GetAllResultsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllResultsResponse$Outbound = {
    Result: GetAllResultsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllResultsResponse$outboundSchema: z.ZodType<GetAllResultsResponse$Outbound, z.ZodTypeDef, GetAllResultsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResultsResponse$ {
    /** @deprecated use `GetAllResultsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllResultsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllResultsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllResultsResponse$Outbound, z.ZodTypeDef, GetAllResultsResponse>;
    /** @deprecated use `GetAllResultsResponse$Outbound` instead. */
    type Outbound = GetAllResultsResponse$Outbound;
}
export declare function getAllResultsResponseToJSON(getAllResultsResponse: GetAllResultsResponse): string;
export declare function getAllResultsResponseFromJSON(jsonString: string): SafeParseResult<GetAllResultsResponse, SDKValidationError>;
//# sourceMappingURL=getallresults.d.ts.map