import { PipeTransform } from '@angular/core'; import { EntitlementValue } from '../models'; import * as i0 from "@angular/core"; /** * Pipe for formatting entitlement values for display * * This pipe takes an entitlement (or entitlement code) and formats its value * in a human-readable way based on its type. * * @example * ```html * * {{ 'premium_analytics' | entitlementValue: entitlements }} * * * * {{ 'max_api_calls' | entitlementValue: entitlements }} * * * * {{ 'support_level' | entitlementValue: entitlements }} * * * * {{ entitlement | entitlementValue }} * * * {{ 'max_projects' | entitlementValue: entitlements: 'Unlimited' }} * ``` */ export declare class EntitlementValuePipe implements PipeTransform { /** * Transform entitlement to display value * * @param value - Entitlement code (string) or EntitlementValue object * @param entitlements - Array of all entitlements (required if value is a code string) * @param unlimitedText - Custom text for unlimited values (default: 'Unlimited') * @returns Formatted display string */ transform(value: string | EntitlementValue | null | undefined, entitlements?: EntitlementValue[], unlimitedText?: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } /** * Pipe for formatting entitlement progress (for NUMERIC types) * * @example * ```html * * {{ entitlement | entitlementProgress: currentUsage }} * * * * {{ entitlement | entitlementProgress: currentUsage: 'fraction' }} * * ``` */ export declare class EntitlementProgressPipe implements PipeTransform { transform(entitlement: EntitlementValue | null | undefined, currentUsage: number, format?: 'percentage' | 'fraction'): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } /** * Pipe for checking if entitlement value matches a condition * * Useful for *ngIf conditions in templates * * @example * ```html * *
* Premium content *
* * *
* Priority support content *
* * * * ``` */ export declare class EntitlementCheckPipe implements PipeTransform { transform(code: string | null | undefined, entitlements: EntitlementValue[] | null | undefined, checkValue?: any): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }