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 GetAllResourcesOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllResourcesOrderBy = ClosedEnum<typeof GetAllResourcesOrderBy>;
export type GetAllResourcesRequest = {
    /**
     * 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?: GetAllResourcesOrderBy | 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 resources
 */
export type GetAllResourcesResponseBody = {
    resources: Array<components.Resource>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllResourcesResponse = {
    result: GetAllResourcesResponseBody;
};
/** @internal */
export declare const GetAllResourcesOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllResourcesOrderBy>;
/** @internal */
export declare const GetAllResourcesOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllResourcesOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResourcesOrderBy$ {
    /** @deprecated use `GetAllResourcesOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllResourcesOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllResourcesRequest$inboundSchema: z.ZodType<GetAllResourcesRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllResourcesRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllResourcesRequest$outboundSchema: z.ZodType<GetAllResourcesRequest$Outbound, z.ZodTypeDef, GetAllResourcesRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResourcesRequest$ {
    /** @deprecated use `GetAllResourcesRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllResourcesRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllResourcesRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllResourcesRequest$Outbound, z.ZodTypeDef, GetAllResourcesRequest>;
    /** @deprecated use `GetAllResourcesRequest$Outbound` instead. */
    type Outbound = GetAllResourcesRequest$Outbound;
}
export declare function getAllResourcesRequestToJSON(getAllResourcesRequest: GetAllResourcesRequest): string;
export declare function getAllResourcesRequestFromJSON(jsonString: string): SafeParseResult<GetAllResourcesRequest, SDKValidationError>;
/** @internal */
export declare const GetAllResourcesResponseBody$inboundSchema: z.ZodType<GetAllResourcesResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllResourcesResponseBody$Outbound = {
    resources: Array<components.Resource$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllResourcesResponseBody$outboundSchema: z.ZodType<GetAllResourcesResponseBody$Outbound, z.ZodTypeDef, GetAllResourcesResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResourcesResponseBody$ {
    /** @deprecated use `GetAllResourcesResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllResourcesResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllResourcesResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllResourcesResponseBody$Outbound, z.ZodTypeDef, GetAllResourcesResponseBody>;
    /** @deprecated use `GetAllResourcesResponseBody$Outbound` instead. */
    type Outbound = GetAllResourcesResponseBody$Outbound;
}
export declare function getAllResourcesResponseBodyToJSON(getAllResourcesResponseBody: GetAllResourcesResponseBody): string;
export declare function getAllResourcesResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllResourcesResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllResourcesResponse$inboundSchema: z.ZodType<GetAllResourcesResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllResourcesResponse$Outbound = {
    Result: GetAllResourcesResponseBody$Outbound;
};
/** @internal */
export declare const GetAllResourcesResponse$outboundSchema: z.ZodType<GetAllResourcesResponse$Outbound, z.ZodTypeDef, GetAllResourcesResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllResourcesResponse$ {
    /** @deprecated use `GetAllResourcesResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllResourcesResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllResourcesResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllResourcesResponse$Outbound, z.ZodTypeDef, GetAllResourcesResponse>;
    /** @deprecated use `GetAllResourcesResponse$Outbound` instead. */
    type Outbound = GetAllResourcesResponse$Outbound;
}
export declare function getAllResourcesResponseToJSON(getAllResourcesResponse: GetAllResourcesResponse): string;
export declare function getAllResourcesResponseFromJSON(jsonString: string): SafeParseResult<GetAllResourcesResponse, SDKValidationError>;
//# sourceMappingURL=getallresources.d.ts.map