import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetOrgRequest = {
    /**
     * The sourcedId of the organization to retrieve
     */
    sourcedId: string;
};
/**
 * Organization retrieved successfully
 */
export type GetOrgResponse = {
    /**
     * Represents an organization.
     */
    org: components.Org;
};
/** @internal */
export declare const GetOrgRequest$inboundSchema: z.ZodType<GetOrgRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetOrgRequest$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetOrgRequest$outboundSchema: z.ZodType<GetOrgRequest$Outbound, z.ZodTypeDef, GetOrgRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetOrgRequest$ {
    /** @deprecated use `GetOrgRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetOrgRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetOrgRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetOrgRequest$Outbound, z.ZodTypeDef, GetOrgRequest>;
    /** @deprecated use `GetOrgRequest$Outbound` instead. */
    type Outbound = GetOrgRequest$Outbound;
}
export declare function getOrgRequestToJSON(getOrgRequest: GetOrgRequest): string;
export declare function getOrgRequestFromJSON(jsonString: string): SafeParseResult<GetOrgRequest, SDKValidationError>;
/** @internal */
export declare const GetOrgResponse$inboundSchema: z.ZodType<GetOrgResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetOrgResponse$Outbound = {
    org: components.Org$Outbound;
};
/** @internal */
export declare const GetOrgResponse$outboundSchema: z.ZodType<GetOrgResponse$Outbound, z.ZodTypeDef, GetOrgResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetOrgResponse$ {
    /** @deprecated use `GetOrgResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetOrgResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetOrgResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetOrgResponse$Outbound, z.ZodTypeDef, GetOrgResponse>;
    /** @deprecated use `GetOrgResponse$Outbound` instead. */
    type Outbound = GetOrgResponse$Outbound;
}
export declare function getOrgResponseToJSON(getOrgResponse: GetOrgResponse): string;
export declare function getOrgResponseFromJSON(jsonString: string): SafeParseResult<GetOrgResponse, SDKValidationError>;
//# sourceMappingURL=getorg.d.ts.map