import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { BenefitFeatureFlagProperties, BenefitFeatureFlagProperties$Outbound } from "./benefitfeatureflagproperties.js";
import { BenefitVisibility } from "./benefitvisibility.js";
import { MetadataOutputType, MetadataOutputType$Outbound } from "./metadataoutputtype.js";
/**
 * A benefit of type `feature_flag`.
 *
 * @remarks
 *
 * Use it to grant feature flags with key-value metadata
 * that can be queried via the API and webhooks.
 */
export type BenefitFeatureFlag = {
    /**
     * The ID of the benefit.
     */
    id: string;
    /**
     * Creation timestamp of the object.
     */
    createdAt: Date;
    /**
     * Last modification timestamp of the object.
     */
    modifiedAt: Date | null;
    type: "feature_flag";
    /**
     * The description of the benefit.
     */
    description: string;
    /**
     * Whether the benefit is selectable when creating a product.
     */
    selectable: boolean;
    /**
     * Whether the benefit is deletable.
     */
    deletable: boolean;
    /**
     * Whether the benefit is deleted.
     */
    isDeleted: boolean;
    /**
     * The ID of the organization owning the benefit.
     */
    organizationId: string;
    metadata: {
        [k: string]: MetadataOutputType;
    };
    visibility: BenefitVisibility;
    /**
     * Properties for a benefit of type `feature_flag`.
     */
    properties: BenefitFeatureFlagProperties;
    visibilityConfigurable: boolean;
};
/** @internal */
export declare const BenefitFeatureFlag$inboundSchema: z.ZodMiniType<BenefitFeatureFlag, unknown>;
/** @internal */
export type BenefitFeatureFlag$Outbound = {
    id: string;
    created_at: string;
    modified_at: string | null;
    type: "feature_flag";
    description: string;
    selectable: boolean;
    deletable: boolean;
    is_deleted: boolean;
    organization_id: string;
    metadata: {
        [k: string]: MetadataOutputType$Outbound;
    };
    visibility: string;
    properties: BenefitFeatureFlagProperties$Outbound;
    visibility_configurable: boolean;
};
/** @internal */
export declare const BenefitFeatureFlag$outboundSchema: z.ZodMiniType<BenefitFeatureFlag$Outbound, BenefitFeatureFlag>;
export declare function benefitFeatureFlagToJSON(benefitFeatureFlag: BenefitFeatureFlag): string;
export declare function benefitFeatureFlagFromJSON(jsonString: string): SafeParseResult<BenefitFeatureFlag, SDKValidationError>;
//# sourceMappingURL=benefitfeatureflag.d.ts.map