import * as z from "zod";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type RejectedReason4 = {};
/**
 * The source value of the rejected reason type.
 */
export type RejectedReasonSourceValue = RejectedReason4 | string | number | boolean | Array<any>;
/**
 * The type of the rejected reason.
 */
export declare enum RejectedReasonValue {
    RejectedByCandidate = "rejected_by_candidate",
    RejectedByOrganization = "rejected_by_organization",
    Other = "other",
    Unknown = "unknown",
    UnmappedValue = "unmapped_value"
}
/**
 * The type of the rejected reason.
 */
export type RejectedReasonValueOpen = OpenEnum<typeof RejectedReasonValue>;
export type RejectedReasonType = {
    /**
     * The source value of the rejected reason type.
     */
    sourceValue?: RejectedReason4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The type of the rejected reason.
     */
    value?: RejectedReasonValueOpen | null | undefined;
};
export type RejectedReason = {
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The label of the rejected reason.
     */
    label?: string | null | undefined;
    rejectedReasonType?: RejectedReasonType | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * The string type of the rejected reason.
     *
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    type?: string | null | undefined;
    /**
     * Custom Unified Fields configured in your StackOne project
     */
    unifiedCustomFields?: {
        [k: string]: any;
    } | null | undefined;
};
/** @internal */
export declare const RejectedReason4$inboundSchema: z.ZodType<RejectedReason4, z.ZodTypeDef, unknown>;
/** @internal */
export type RejectedReason4$Outbound = {};
/** @internal */
export declare const RejectedReason4$outboundSchema: z.ZodType<RejectedReason4$Outbound, z.ZodTypeDef, RejectedReason4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RejectedReason4$ {
    /** @deprecated use `RejectedReason4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RejectedReason4, z.ZodTypeDef, unknown>;
    /** @deprecated use `RejectedReason4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RejectedReason4$Outbound, z.ZodTypeDef, RejectedReason4>;
    /** @deprecated use `RejectedReason4$Outbound` instead. */
    type Outbound = RejectedReason4$Outbound;
}
export declare function rejectedReason4ToJSON(rejectedReason4: RejectedReason4): string;
export declare function rejectedReason4FromJSON(jsonString: string): SafeParseResult<RejectedReason4, SDKValidationError>;
/** @internal */
export declare const RejectedReasonSourceValue$inboundSchema: z.ZodType<RejectedReasonSourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type RejectedReasonSourceValue$Outbound = RejectedReason4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const RejectedReasonSourceValue$outboundSchema: z.ZodType<RejectedReasonSourceValue$Outbound, z.ZodTypeDef, RejectedReasonSourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RejectedReasonSourceValue$ {
    /** @deprecated use `RejectedReasonSourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RejectedReasonSourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `RejectedReasonSourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RejectedReasonSourceValue$Outbound, z.ZodTypeDef, RejectedReasonSourceValue>;
    /** @deprecated use `RejectedReasonSourceValue$Outbound` instead. */
    type Outbound = RejectedReasonSourceValue$Outbound;
}
export declare function rejectedReasonSourceValueToJSON(rejectedReasonSourceValue: RejectedReasonSourceValue): string;
export declare function rejectedReasonSourceValueFromJSON(jsonString: string): SafeParseResult<RejectedReasonSourceValue, SDKValidationError>;
/** @internal */
export declare const RejectedReasonValue$inboundSchema: z.ZodType<RejectedReasonValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const RejectedReasonValue$outboundSchema: z.ZodType<RejectedReasonValueOpen, z.ZodTypeDef, RejectedReasonValueOpen>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RejectedReasonValue$ {
    /** @deprecated use `RejectedReasonValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RejectedReasonValueOpen, z.ZodTypeDef, unknown>;
    /** @deprecated use `RejectedReasonValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RejectedReasonValueOpen, z.ZodTypeDef, RejectedReasonValueOpen>;
}
/** @internal */
export declare const RejectedReasonType$inboundSchema: z.ZodType<RejectedReasonType, z.ZodTypeDef, unknown>;
/** @internal */
export type RejectedReasonType$Outbound = {
    source_value?: RejectedReason4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const RejectedReasonType$outboundSchema: z.ZodType<RejectedReasonType$Outbound, z.ZodTypeDef, RejectedReasonType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RejectedReasonType$ {
    /** @deprecated use `RejectedReasonType$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RejectedReasonType, z.ZodTypeDef, unknown>;
    /** @deprecated use `RejectedReasonType$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RejectedReasonType$Outbound, z.ZodTypeDef, RejectedReasonType>;
    /** @deprecated use `RejectedReasonType$Outbound` instead. */
    type Outbound = RejectedReasonType$Outbound;
}
export declare function rejectedReasonTypeToJSON(rejectedReasonType: RejectedReasonType): string;
export declare function rejectedReasonTypeFromJSON(jsonString: string): SafeParseResult<RejectedReasonType, SDKValidationError>;
/** @internal */
export declare const RejectedReason$inboundSchema: z.ZodType<RejectedReason, z.ZodTypeDef, unknown>;
/** @internal */
export type RejectedReason$Outbound = {
    id?: string | null | undefined;
    label?: string | null | undefined;
    rejected_reason_type?: RejectedReasonType$Outbound | null | undefined;
    remote_id?: string | null | undefined;
    type?: string | null | undefined;
    unified_custom_fields?: {
        [k: string]: any;
    } | null | undefined;
};
/** @internal */
export declare const RejectedReason$outboundSchema: z.ZodType<RejectedReason$Outbound, z.ZodTypeDef, RejectedReason>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RejectedReason$ {
    /** @deprecated use `RejectedReason$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RejectedReason, z.ZodTypeDef, unknown>;
    /** @deprecated use `RejectedReason$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RejectedReason$Outbound, z.ZodTypeDef, RejectedReason>;
    /** @deprecated use `RejectedReason$Outbound` instead. */
    type Outbound = RejectedReason$Outbound;
}
export declare function rejectedReasonToJSON(rejectedReason: RejectedReason): string;
export declare function rejectedReasonFromJSON(jsonString: string): SafeParseResult<RejectedReason, SDKValidationError>;
//# sourceMappingURL=rejectedreason.d.ts.map