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";
export declare const CategoryStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type CategoryStatus = ClosedEnum<typeof CategoryStatus>;
/**
 * Represents a category.
 */
export type Category = {
    sourcedId?: string | undefined;
    status: CategoryStatus;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    title: string;
    weight?: number | null | undefined;
};
/** @internal */
export declare const CategoryStatus$inboundSchema: z.ZodNativeEnum<typeof CategoryStatus>;
/** @internal */
export declare const CategoryStatus$outboundSchema: z.ZodNativeEnum<typeof CategoryStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CategoryStatus$ {
    /** @deprecated use `CategoryStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `CategoryStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const Category$inboundSchema: z.ZodType<Category, z.ZodTypeDef, unknown>;
/** @internal */
export type Category$Outbound = {
    sourcedId?: string | undefined;
    status: string;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    title: string;
    weight?: number | null | undefined;
};
/** @internal */
export declare const Category$outboundSchema: z.ZodType<Category$Outbound, z.ZodTypeDef, Category>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Category$ {
    /** @deprecated use `Category$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Category, z.ZodTypeDef, unknown>;
    /** @deprecated use `Category$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Category$Outbound, z.ZodTypeDef, Category>;
    /** @deprecated use `Category$Outbound` instead. */
    type Outbound = Category$Outbound;
}
export declare function categoryToJSON(category: Category): string;
export declare function categoryFromJSON(jsonString: string): SafeParseResult<Category, SDKValidationError>;
//# sourceMappingURL=category.d.ts.map