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";
/**
 * The labor type associated with this time entry
 */
export type LaborType = {
    code?: string | null | undefined;
};
export declare enum TimeEntries2 {
    True = "true",
    False = "false"
}
/**
 * The reference status
 */
export type TimeEntriesActive = boolean | TimeEntries2;
/**
 * The location of the time entry
 */
export type Location = {
    /**
     * The reference status
     */
    active?: boolean | TimeEntries2 | null | undefined;
    /**
     * The reference id
     */
    id?: string | null | undefined;
    /**
     * The reference name
     */
    name?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
};
export type TimeEntries4 = {};
export type TimeEntriesSourceValue = string | number | boolean | TimeEntries4 | Array<any>;
export declare enum TimeEntriesValue {
    Approved = "approved",
    UnmappedValue = "unmapped_value"
}
export type TimeEntriesValueOpen = OpenEnum<typeof TimeEntriesValue>;
/**
 * The status of the time entry
 */
export type TimeEntriesStatus = {
    sourceValue?: string | number | boolean | TimeEntries4 | Array<any> | null | undefined;
    value?: TimeEntriesValueOpen | null | undefined;
};
export type TimeEntries = {
    /**
     * The duration of the break taken during time entry in hours
     */
    breakDuration?: number | null | undefined;
    /**
     * The created_at date
     */
    createdAt?: Date | null | undefined;
    /**
     * The employee ID associated with this time entry
     */
    employeeId?: string | null | undefined;
    /**
     * The end time of the time entry
     */
    endTime?: Date | null | undefined;
    /**
     * The hours worked in the time entry
     */
    hoursWorked?: number | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * The labor type associated with this time entry
     */
    laborType?: LaborType | null | undefined;
    /**
     * The location of the time entry
     */
    location?: Location | null | undefined;
    /**
     * Provider's unique identifier of the employee associated with this time entry
     */
    remoteEmployeeId?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * The start time of the time entry
     */
    startTime?: Date | null | undefined;
    /**
     * The status of the time entry
     */
    status?: TimeEntriesStatus | null | undefined;
    /**
     * Custom Unified Fields configured in your StackOne project
     */
    unifiedCustomFields?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * The updated_at date
     */
    updatedAt?: Date | null | undefined;
};
/** @internal */
export declare const LaborType$inboundSchema: z.ZodType<LaborType, z.ZodTypeDef, unknown>;
export declare function laborTypeFromJSON(jsonString: string): SafeParseResult<LaborType, SDKValidationError>;
/** @internal */
export declare const TimeEntries2$inboundSchema: z.ZodNativeEnum<typeof TimeEntries2>;
/** @internal */
export declare const TimeEntriesActive$inboundSchema: z.ZodType<TimeEntriesActive, z.ZodTypeDef, unknown>;
export declare function timeEntriesActiveFromJSON(jsonString: string): SafeParseResult<TimeEntriesActive, SDKValidationError>;
/** @internal */
export declare const Location$inboundSchema: z.ZodType<Location, z.ZodTypeDef, unknown>;
export declare function locationFromJSON(jsonString: string): SafeParseResult<Location, SDKValidationError>;
/** @internal */
export declare const TimeEntries4$inboundSchema: z.ZodType<TimeEntries4, z.ZodTypeDef, unknown>;
export declare function timeEntries4FromJSON(jsonString: string): SafeParseResult<TimeEntries4, SDKValidationError>;
/** @internal */
export declare const TimeEntriesSourceValue$inboundSchema: z.ZodType<TimeEntriesSourceValue, z.ZodTypeDef, unknown>;
export declare function timeEntriesSourceValueFromJSON(jsonString: string): SafeParseResult<TimeEntriesSourceValue, SDKValidationError>;
/** @internal */
export declare const TimeEntriesValue$inboundSchema: z.ZodType<TimeEntriesValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const TimeEntriesStatus$inboundSchema: z.ZodType<TimeEntriesStatus, z.ZodTypeDef, unknown>;
export declare function timeEntriesStatusFromJSON(jsonString: string): SafeParseResult<TimeEntriesStatus, SDKValidationError>;
/** @internal */
export declare const TimeEntries$inboundSchema: z.ZodType<TimeEntries, z.ZodTypeDef, unknown>;
export declare function timeEntriesFromJSON(jsonString: string): SafeParseResult<TimeEntries, SDKValidationError>;
//# sourceMappingURL=timeentries.d.ts.map