import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The code indicating the result of the operation.
 */
export declare const Code: {
    readonly RejectedIds: "rejected_ids";
    readonly InvalidIds: "invalid_ids";
    readonly InternalErrorIds: "internal_error_ids";
    readonly NonExistingIds: "non_existing_ids";
    readonly InvalidRelateToSelfId: "invalid_relate_to_self_id";
    readonly AlreadyExistsIds: "already_exists_ids";
    readonly RelationDoesNotExistIds: "relation_does_not_exist_ids";
    readonly SuccessIds: "success_ids";
};
/**
 * The code indicating the result of the operation.
 */
export type Code = ClosedEnum<typeof Code>;
export type AssetRelationInfo = {
    /**
     * The message indicating the result of the operation.
     */
    message?: string | undefined;
    /**
     * The code indicating the result of the operation.
     */
    code?: Code | undefined;
    /**
     * The identifier of the asset, either asset ID or public ID path.
     */
    asset?: string | undefined;
    /**
     * The HTTP status code indicating the result of the operation.
     */
    status?: number | undefined;
};
/** @internal */
export declare const Code$inboundSchema: z.ZodNativeEnum<typeof Code>;
/** @internal */
export declare const Code$outboundSchema: z.ZodNativeEnum<typeof Code>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Code$ {
    /** @deprecated use `Code$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly RejectedIds: "rejected_ids";
        readonly InvalidIds: "invalid_ids";
        readonly InternalErrorIds: "internal_error_ids";
        readonly NonExistingIds: "non_existing_ids";
        readonly InvalidRelateToSelfId: "invalid_relate_to_self_id";
        readonly AlreadyExistsIds: "already_exists_ids";
        readonly RelationDoesNotExistIds: "relation_does_not_exist_ids";
        readonly SuccessIds: "success_ids";
    }>;
    /** @deprecated use `Code$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly RejectedIds: "rejected_ids";
        readonly InvalidIds: "invalid_ids";
        readonly InternalErrorIds: "internal_error_ids";
        readonly NonExistingIds: "non_existing_ids";
        readonly InvalidRelateToSelfId: "invalid_relate_to_self_id";
        readonly AlreadyExistsIds: "already_exists_ids";
        readonly RelationDoesNotExistIds: "relation_does_not_exist_ids";
        readonly SuccessIds: "success_ids";
    }>;
}
/** @internal */
export declare const AssetRelationInfo$inboundSchema: z.ZodType<AssetRelationInfo, z.ZodTypeDef, unknown>;
/** @internal */
export type AssetRelationInfo$Outbound = {
    message?: string | undefined;
    code?: string | undefined;
    asset?: string | undefined;
    status?: number | undefined;
};
/** @internal */
export declare const AssetRelationInfo$outboundSchema: z.ZodType<AssetRelationInfo$Outbound, z.ZodTypeDef, AssetRelationInfo>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AssetRelationInfo$ {
    /** @deprecated use `AssetRelationInfo$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AssetRelationInfo, z.ZodTypeDef, unknown>;
    /** @deprecated use `AssetRelationInfo$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AssetRelationInfo$Outbound, z.ZodTypeDef, AssetRelationInfo>;
    /** @deprecated use `AssetRelationInfo$Outbound` instead. */
    type Outbound = AssetRelationInfo$Outbound;
}
export declare function assetRelationInfoToJSON(assetRelationInfo: AssetRelationInfo): string;
export declare function assetRelationInfoFromJSON(jsonString: string): SafeParseResult<AssetRelationInfo, SDKValidationError>;
//# sourceMappingURL=assetrelationinfo.d.ts.map