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 ApplicationAttachment4 = {};
/**
 * The source value of the content type.
 */
export type ApplicationAttachmentSourceValue = ApplicationAttachment4 | string | number | boolean | Array<any>;
/**
 * The content type of the attachment.
 */
export declare enum ApplicationAttachmentValue {
    Text = "text",
    UnmappedValue = "unmapped_value"
}
/**
 * The content type of the attachment.
 */
export type ApplicationAttachmentValueOpen = OpenEnum<typeof ApplicationAttachmentValue>;
export type ContentType = {
    /**
     * The source value of the content type.
     */
    sourceValue?: ApplicationAttachment4 | string | number | boolean | Array<any> | null | undefined;
    /**
     * The content type of the attachment.
     */
    value?: ApplicationAttachmentValueOpen | null | undefined;
};
export type ApplicationAttachment = {
    /**
     * The content of the attachment.
     */
    content?: string | null | undefined;
    contentType?: ContentType | null | undefined;
    /**
     * The file name of the attachment.
     */
    fileName?: string | null | undefined;
    /**
     * The URL of the attachment.
     */
    url?: string | null | undefined;
};
/** @internal */
export declare const ApplicationAttachment4$inboundSchema: z.ZodType<ApplicationAttachment4, z.ZodTypeDef, unknown>;
/** @internal */
export type ApplicationAttachment4$Outbound = {};
/** @internal */
export declare const ApplicationAttachment4$outboundSchema: z.ZodType<ApplicationAttachment4$Outbound, z.ZodTypeDef, ApplicationAttachment4>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ApplicationAttachment4$ {
    /** @deprecated use `ApplicationAttachment4$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ApplicationAttachment4, z.ZodTypeDef, unknown>;
    /** @deprecated use `ApplicationAttachment4$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ApplicationAttachment4$Outbound, z.ZodTypeDef, ApplicationAttachment4>;
    /** @deprecated use `ApplicationAttachment4$Outbound` instead. */
    type Outbound = ApplicationAttachment4$Outbound;
}
export declare function applicationAttachment4ToJSON(applicationAttachment4: ApplicationAttachment4): string;
export declare function applicationAttachment4FromJSON(jsonString: string): SafeParseResult<ApplicationAttachment4, SDKValidationError>;
/** @internal */
export declare const ApplicationAttachmentSourceValue$inboundSchema: z.ZodType<ApplicationAttachmentSourceValue, z.ZodTypeDef, unknown>;
/** @internal */
export type ApplicationAttachmentSourceValue$Outbound = ApplicationAttachment4$Outbound | string | number | boolean | Array<any>;
/** @internal */
export declare const ApplicationAttachmentSourceValue$outboundSchema: z.ZodType<ApplicationAttachmentSourceValue$Outbound, z.ZodTypeDef, ApplicationAttachmentSourceValue>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ApplicationAttachmentSourceValue$ {
    /** @deprecated use `ApplicationAttachmentSourceValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ApplicationAttachmentSourceValue, z.ZodTypeDef, unknown>;
    /** @deprecated use `ApplicationAttachmentSourceValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ApplicationAttachmentSourceValue$Outbound, z.ZodTypeDef, ApplicationAttachmentSourceValue>;
    /** @deprecated use `ApplicationAttachmentSourceValue$Outbound` instead. */
    type Outbound = ApplicationAttachmentSourceValue$Outbound;
}
export declare function applicationAttachmentSourceValueToJSON(applicationAttachmentSourceValue: ApplicationAttachmentSourceValue): string;
export declare function applicationAttachmentSourceValueFromJSON(jsonString: string): SafeParseResult<ApplicationAttachmentSourceValue, SDKValidationError>;
/** @internal */
export declare const ApplicationAttachmentValue$inboundSchema: z.ZodType<ApplicationAttachmentValueOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const ApplicationAttachmentValue$outboundSchema: z.ZodType<ApplicationAttachmentValueOpen, z.ZodTypeDef, ApplicationAttachmentValueOpen>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ApplicationAttachmentValue$ {
    /** @deprecated use `ApplicationAttachmentValue$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ApplicationAttachmentValueOpen, z.ZodTypeDef, unknown>;
    /** @deprecated use `ApplicationAttachmentValue$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ApplicationAttachmentValueOpen, z.ZodTypeDef, ApplicationAttachmentValueOpen>;
}
/** @internal */
export declare const ContentType$inboundSchema: z.ZodType<ContentType, z.ZodTypeDef, unknown>;
/** @internal */
export type ContentType$Outbound = {
    source_value?: ApplicationAttachment4$Outbound | string | number | boolean | Array<any> | null | undefined;
    value?: string | null | undefined;
};
/** @internal */
export declare const ContentType$outboundSchema: z.ZodType<ContentType$Outbound, z.ZodTypeDef, ContentType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ContentType$ {
    /** @deprecated use `ContentType$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ContentType, z.ZodTypeDef, unknown>;
    /** @deprecated use `ContentType$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ContentType$Outbound, z.ZodTypeDef, ContentType>;
    /** @deprecated use `ContentType$Outbound` instead. */
    type Outbound = ContentType$Outbound;
}
export declare function contentTypeToJSON(contentType: ContentType): string;
export declare function contentTypeFromJSON(jsonString: string): SafeParseResult<ContentType, SDKValidationError>;
/** @internal */
export declare const ApplicationAttachment$inboundSchema: z.ZodType<ApplicationAttachment, z.ZodTypeDef, unknown>;
/** @internal */
export type ApplicationAttachment$Outbound = {
    content?: string | null | undefined;
    content_type?: ContentType$Outbound | null | undefined;
    file_name?: string | null | undefined;
    url?: string | null | undefined;
};
/** @internal */
export declare const ApplicationAttachment$outboundSchema: z.ZodType<ApplicationAttachment$Outbound, z.ZodTypeDef, ApplicationAttachment>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ApplicationAttachment$ {
    /** @deprecated use `ApplicationAttachment$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ApplicationAttachment, z.ZodTypeDef, unknown>;
    /** @deprecated use `ApplicationAttachment$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ApplicationAttachment$Outbound, z.ZodTypeDef, ApplicationAttachment>;
    /** @deprecated use `ApplicationAttachment$Outbound` instead. */
    type Outbound = ApplicationAttachment$Outbound;
}
export declare function applicationAttachmentToJSON(applicationAttachment: ApplicationAttachment): string;
export declare function applicationAttachmentFromJSON(jsonString: string): SafeParseResult<ApplicationAttachment, SDKValidationError>;
//# sourceMappingURL=applicationattachment.d.ts.map