/** * RLS policy generator for Supabase * Creates policies for multi-tenant security with Clerk integration */ export declare class RLSPolicyGenerator { /** * Generate RLS policy for user-scoped access */ static generateUserPolicy(table: string): string; /** * Generate admin bypass policy */ static generateAdminPolicy(table: string): string; /** * Generate multi-tenant policy */ static generateTenantPolicy(table: string): string; /** * Generate read-only policy for public data */ static generatePublicReadPolicy(table: string, condition?: string): string; /** * Generate policy for shared resources */ static generateSharedResourcePolicy(table: string, sharingTable?: string): string; /** * Generate policy for role-based access */ static generateRoleBasedPolicy(table: string, allowedRoles: string[]): string; /** * Disable RLS on a table (use with caution) */ static disableRLS(table: string): string; /** * Generate policy for time-based access (e.g., scheduled content) */ static generateTimeBasedPolicy(table: string): string; }