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 GetEnrollmentRequest = {
    /**
     * The unique identifier for the enrollment
     */
    sourcedId: string;
};
/**
 * Successful response
 */
export type GetEnrollmentResponse = {
    /**
     * Represents an enrollment.
     */
    enrollment: components.Enrollment;
};
/** @internal */
export declare const GetEnrollmentRequest$inboundSchema: z.ZodType<GetEnrollmentRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetEnrollmentRequest$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetEnrollmentRequest$outboundSchema: z.ZodType<GetEnrollmentRequest$Outbound, z.ZodTypeDef, GetEnrollmentRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetEnrollmentRequest$ {
    /** @deprecated use `GetEnrollmentRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetEnrollmentRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetEnrollmentRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetEnrollmentRequest$Outbound, z.ZodTypeDef, GetEnrollmentRequest>;
    /** @deprecated use `GetEnrollmentRequest$Outbound` instead. */
    type Outbound = GetEnrollmentRequest$Outbound;
}
export declare function getEnrollmentRequestToJSON(getEnrollmentRequest: GetEnrollmentRequest): string;
export declare function getEnrollmentRequestFromJSON(jsonString: string): SafeParseResult<GetEnrollmentRequest, SDKValidationError>;
/** @internal */
export declare const GetEnrollmentResponse$inboundSchema: z.ZodType<GetEnrollmentResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetEnrollmentResponse$Outbound = {
    enrollment: components.Enrollment$Outbound;
};
/** @internal */
export declare const GetEnrollmentResponse$outboundSchema: z.ZodType<GetEnrollmentResponse$Outbound, z.ZodTypeDef, GetEnrollmentResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetEnrollmentResponse$ {
    /** @deprecated use `GetEnrollmentResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetEnrollmentResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetEnrollmentResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetEnrollmentResponse$Outbound, z.ZodTypeDef, GetEnrollmentResponse>;
    /** @deprecated use `GetEnrollmentResponse$Outbound` instead. */
    type Outbound = GetEnrollmentResponse$Outbound;
}
export declare function getEnrollmentResponseToJSON(getEnrollmentResponse: GetEnrollmentResponse): string;
export declare function getEnrollmentResponseFromJSON(jsonString: string): SafeParseResult<GetEnrollmentResponse, SDKValidationError>;
//# sourceMappingURL=getenrollment.d.ts.map