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 GetAllOrgsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllOrgsOrderBy = ClosedEnum<typeof GetAllOrgsOrderBy>;
export type GetAllOrgsRequest = {
    /**
     * 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?: GetAllOrgsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Collection of organizations retrieved successfully
 */
export type GetAllOrgsResponseBody = {
    orgs: Array<components.Org>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllOrgsResponse = {
    result: GetAllOrgsResponseBody;
};
/** @internal */
export declare const GetAllOrgsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllOrgsOrderBy>;
/** @internal */
export declare const GetAllOrgsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllOrgsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllOrgsOrderBy$ {
    /** @deprecated use `GetAllOrgsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllOrgsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllOrgsRequest$inboundSchema: z.ZodType<GetAllOrgsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllOrgsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllOrgsRequest$outboundSchema: z.ZodType<GetAllOrgsRequest$Outbound, z.ZodTypeDef, GetAllOrgsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllOrgsRequest$ {
    /** @deprecated use `GetAllOrgsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllOrgsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllOrgsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllOrgsRequest$Outbound, z.ZodTypeDef, GetAllOrgsRequest>;
    /** @deprecated use `GetAllOrgsRequest$Outbound` instead. */
    type Outbound = GetAllOrgsRequest$Outbound;
}
export declare function getAllOrgsRequestToJSON(getAllOrgsRequest: GetAllOrgsRequest): string;
export declare function getAllOrgsRequestFromJSON(jsonString: string): SafeParseResult<GetAllOrgsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllOrgsResponseBody$inboundSchema: z.ZodType<GetAllOrgsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllOrgsResponseBody$Outbound = {
    orgs: Array<components.Org$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllOrgsResponseBody$outboundSchema: z.ZodType<GetAllOrgsResponseBody$Outbound, z.ZodTypeDef, GetAllOrgsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllOrgsResponseBody$ {
    /** @deprecated use `GetAllOrgsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllOrgsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllOrgsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllOrgsResponseBody$Outbound, z.ZodTypeDef, GetAllOrgsResponseBody>;
    /** @deprecated use `GetAllOrgsResponseBody$Outbound` instead. */
    type Outbound = GetAllOrgsResponseBody$Outbound;
}
export declare function getAllOrgsResponseBodyToJSON(getAllOrgsResponseBody: GetAllOrgsResponseBody): string;
export declare function getAllOrgsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllOrgsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllOrgsResponse$inboundSchema: z.ZodType<GetAllOrgsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllOrgsResponse$Outbound = {
    Result: GetAllOrgsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllOrgsResponse$outboundSchema: z.ZodType<GetAllOrgsResponse$Outbound, z.ZodTypeDef, GetAllOrgsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllOrgsResponse$ {
    /** @deprecated use `GetAllOrgsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllOrgsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllOrgsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllOrgsResponse$Outbound, z.ZodTypeDef, GetAllOrgsResponse>;
    /** @deprecated use `GetAllOrgsResponse$Outbound` instead. */
    type Outbound = GetAllOrgsResponse$Outbound;
}
export declare function getAllOrgsResponseToJSON(getAllOrgsResponse: GetAllOrgsResponse): string;
export declare function getAllOrgsResponseFromJSON(jsonString: string): SafeParseResult<GetAllOrgsResponse, SDKValidationError>;
//# sourceMappingURL=getallorgs.d.ts.map