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 GetResourcesForUserOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetResourcesForUserOrderBy = ClosedEnum<typeof GetResourcesForUserOrderBy>;
export type GetResourcesForUserRequest = {
    /**
     * The sourcedId of the user
     */
    userSourcedId: string;
    /**
     * 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?: GetResourcesForUserOrderBy | 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 for the user
 */
export type GetResourcesForUserResponseBody = {
    resources: Array<components.Resource>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetResourcesForUserResponse = {
    result: GetResourcesForUserResponseBody;
};
/** @internal */
export declare const GetResourcesForUserOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetResourcesForUserOrderBy>;
/** @internal */
export declare const GetResourcesForUserOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetResourcesForUserOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourcesForUserOrderBy$ {
    /** @deprecated use `GetResourcesForUserOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetResourcesForUserOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetResourcesForUserRequest$inboundSchema: z.ZodType<GetResourcesForUserRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourcesForUserRequest$Outbound = {
    userSourcedId: string;
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetResourcesForUserRequest$outboundSchema: z.ZodType<GetResourcesForUserRequest$Outbound, z.ZodTypeDef, GetResourcesForUserRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourcesForUserRequest$ {
    /** @deprecated use `GetResourcesForUserRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourcesForUserRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourcesForUserRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourcesForUserRequest$Outbound, z.ZodTypeDef, GetResourcesForUserRequest>;
    /** @deprecated use `GetResourcesForUserRequest$Outbound` instead. */
    type Outbound = GetResourcesForUserRequest$Outbound;
}
export declare function getResourcesForUserRequestToJSON(getResourcesForUserRequest: GetResourcesForUserRequest): string;
export declare function getResourcesForUserRequestFromJSON(jsonString: string): SafeParseResult<GetResourcesForUserRequest, SDKValidationError>;
/** @internal */
export declare const GetResourcesForUserResponseBody$inboundSchema: z.ZodType<GetResourcesForUserResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourcesForUserResponseBody$Outbound = {
    resources: Array<components.Resource$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetResourcesForUserResponseBody$outboundSchema: z.ZodType<GetResourcesForUserResponseBody$Outbound, z.ZodTypeDef, GetResourcesForUserResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourcesForUserResponseBody$ {
    /** @deprecated use `GetResourcesForUserResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourcesForUserResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourcesForUserResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourcesForUserResponseBody$Outbound, z.ZodTypeDef, GetResourcesForUserResponseBody>;
    /** @deprecated use `GetResourcesForUserResponseBody$Outbound` instead. */
    type Outbound = GetResourcesForUserResponseBody$Outbound;
}
export declare function getResourcesForUserResponseBodyToJSON(getResourcesForUserResponseBody: GetResourcesForUserResponseBody): string;
export declare function getResourcesForUserResponseBodyFromJSON(jsonString: string): SafeParseResult<GetResourcesForUserResponseBody, SDKValidationError>;
/** @internal */
export declare const GetResourcesForUserResponse$inboundSchema: z.ZodType<GetResourcesForUserResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourcesForUserResponse$Outbound = {
    Result: GetResourcesForUserResponseBody$Outbound;
};
/** @internal */
export declare const GetResourcesForUserResponse$outboundSchema: z.ZodType<GetResourcesForUserResponse$Outbound, z.ZodTypeDef, GetResourcesForUserResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourcesForUserResponse$ {
    /** @deprecated use `GetResourcesForUserResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourcesForUserResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourcesForUserResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourcesForUserResponse$Outbound, z.ZodTypeDef, GetResourcesForUserResponse>;
    /** @deprecated use `GetResourcesForUserResponse$Outbound` instead. */
    type Outbound = GetResourcesForUserResponse$Outbound;
}
export declare function getResourcesForUserResponseToJSON(getResourcesForUserResponse: GetResourcesForUserResponse): string;
export declare function getResourcesForUserResponseFromJSON(jsonString: string): SafeParseResult<GetResourcesForUserResponse, SDKValidationError>;
//# sourceMappingURL=getresourcesforuser.d.ts.map