import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { OfferHistory } from "./offerhistory.js";
export type Offer4 = {};
/**
 * The source value of the offer status.
 */
export type OfferSourceValue = string | number | boolean | Offer4 | Array<any>;
/**
 * The status of the offer.
 */
export declare enum OfferValue {
    Pending = "pending",
    Retracted = "retracted",
    Accepted = "accepted",
    Rejected = "rejected",
    Created = "created",
    Approved = "approved",
    NotApproved = "not_approved",
    UnmappedValue = "unmapped_value"
}
/**
 * The status of the offer.
 */
export type OfferValueOpen = OpenEnum<typeof OfferValue>;
export type OfferOfferStatus = {
    /**
     * The source value of the offer status.
     */
    sourceValue?: string | number | boolean | Offer4 | Array<any> | null | undefined;
    /**
     * The status of the offer.
     */
    value?: OfferValueOpen | null | undefined;
};
export type Offer = {
    applicationId?: string | null | undefined;
    /**
     * Date of creation
     */
    createdAt?: Date | null | undefined;
    currency?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    offerHistory?: Array<OfferHistory> | null | undefined;
    offerStatus?: OfferOfferStatus | null | undefined;
    /**
     * Provider's unique identifier of the application
     */
    remoteApplicationId?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    salary?: number | null | undefined;
    /**
     * Date of creation
     */
    startDate?: Date | null | undefined;
    /**
     * Custom Unified Fields configured in your StackOne project
     */
    unifiedCustomFields?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * Date of last update
     */
    updatedAt?: Date | null | undefined;
};
/** @internal */
export declare const Offer4$inboundSchema: z.ZodType<Offer4, z.ZodTypeDef, unknown>;
export declare function offer4FromJSON(jsonString: string): SafeParseResult<Offer4, SDKValidationError>;
/** @internal */
export declare const OfferSourceValue$inboundSchema: z.ZodType<OfferSourceValue, z.ZodTypeDef, unknown>;
export declare function offerSourceValueFromJSON(jsonString: string): SafeParseResult<OfferSourceValue, SDKValidationError>;
/** @internal */
export declare const OfferValue$inboundSchema: z.ZodType<OfferValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const OfferOfferStatus$inboundSchema: z.ZodType<OfferOfferStatus, z.ZodTypeDef, unknown>;
export declare function offerOfferStatusFromJSON(jsonString: string): SafeParseResult<OfferOfferStatus, SDKValidationError>;
/** @internal */
export declare const Offer$inboundSchema: z.ZodType<Offer, z.ZodTypeDef, unknown>;
export declare function offerFromJSON(jsonString: string): SafeParseResult<Offer, SDKValidationError>;
//# sourceMappingURL=offer.d.ts.map