/** * Publicity type definitions and constants * * Defines the visibility states for content (media, reviews, etc.) * with special handling for admin-only deleted state. */ /** * Content publicity/visibility types * - public: Visible to all users * - private: Visible to owner and explicitly granted users * - paid: Visible after token payment * - deleted: Admin-only, soft-deleted items (excluded from 'all' filter) */ export type PublicityType = 'public' | 'private' | 'paid' | 'deleted'; /** * Publicity type constants for type-safe usage */ export declare const PUBLICITY_TYPES: { readonly PUBLIC: "public"; readonly PRIVATE: "private"; readonly PAID: "paid"; readonly DELETED: "deleted"; }; /** * Admin-only publicity types that require admin role to access */ export declare const ADMIN_ONLY_PUBLICITY_TYPES: PublicityType[]; /** * Publicity types included in "all" filter * Note: 'deleted' is explicitly excluded from "all" selection */ export declare const ALL_FILTER_PUBLICITY_TYPES: PublicityType[]; /** * Check if a publicity type requires admin access */ export declare function isAdminOnlyPublicity(publicity: PublicityType): boolean; /** * Check if a publicity type is included in "all" filter */ export declare function isIncludedInAllFilter(publicity: PublicityType): boolean;