import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type TicketingAttachment = {
    /**
     * The timestamp when the record was created
     */
    createdAt?: Date | null | undefined;
    /**
     * The name of the file
     */
    fileName?: string | null | undefined;
    /**
     * The type of the file
     */
    fileType?: string | null | undefined;
    /**
     * The resource URL of the file
     */
    fileUrl?: string | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
    /**
     * The size of the file
     */
    size?: number | null | undefined;
    /**
     * The reference ticket ID the attachment belongs to
     */
    ticketId?: string | null | undefined;
    /**
     * The timestamp when the record was last updated
     */
    updatedAt?: Date | null | undefined;
    /**
     * The user who uploaded the file
     */
    userId?: string | null | undefined;
};
/** @internal */
export declare const TicketingAttachment$inboundSchema: z.ZodType<TicketingAttachment, z.ZodTypeDef, unknown>;
/** @internal */
export type TicketingAttachment$Outbound = {
    created_at?: string | null | undefined;
    file_name?: string | null | undefined;
    file_type?: string | null | undefined;
    file_url?: string | null | undefined;
    id?: string | null | undefined;
    remote_id?: string | null | undefined;
    size?: number | null | undefined;
    ticket_id?: string | null | undefined;
    updated_at?: string | null | undefined;
    user_id?: string | null | undefined;
};
/** @internal */
export declare const TicketingAttachment$outboundSchema: z.ZodType<TicketingAttachment$Outbound, z.ZodTypeDef, TicketingAttachment>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TicketingAttachment$ {
    /** @deprecated use `TicketingAttachment$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TicketingAttachment, z.ZodTypeDef, unknown>;
    /** @deprecated use `TicketingAttachment$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TicketingAttachment$Outbound, z.ZodTypeDef, TicketingAttachment>;
    /** @deprecated use `TicketingAttachment$Outbound` instead. */
    type Outbound = TicketingAttachment$Outbound;
}
export declare function ticketingAttachmentToJSON(ticketingAttachment: TicketingAttachment): string;
export declare function ticketingAttachmentFromJSON(jsonString: string): SafeParseResult<TicketingAttachment, SDKValidationError>;
//# sourceMappingURL=ticketingattachment.d.ts.map