import * as i0 from '@angular/core'; import { InputSignal, InputSignalWithTransform, Signal } from '@angular/core'; import { VariantProps } from 'class-variance-authority'; /** * Orientation type for separator direction. */ type SeparatorOrientation = 'horizontal' | 'vertical'; /** * Variant type for separator appearance. */ type SeparatorVariant = 'default' | 'subtle'; /** * CVA variants for the separator directive. * * @tokens `--color-border`, `--color-border-subtle` */ declare const separatorVariants: (props?: { orientation?: SeparatorOrientation; variant?: SeparatorVariant; }) => string; type SeparatorVariants = VariantProps; /** * Separator directive — applies a visual divider to any host element. * * Works on `
`, `
`, or any other element. Supports horizontal and * vertical orientations, a subtle color variant, and a decorative mode that * hides the separator from assistive technology. * * @tokens `--color-border`, `--color-border-subtle` * * @example Horizontal divider * ```html *
* ``` * * @example Vertical divider * ```html *
* ``` * * @example Subtle variant * ```html *
* ``` * * @example Decorative (hidden from screen readers) * ```html *
* ``` */ declare class ComSeparator { /** Direction of the separator line */ readonly orientation: InputSignal; /** Color intensity — `default` uses border-border, `subtle` uses border-border-subtle */ readonly variant: InputSignal; /** When true, hides the separator from assistive technology */ readonly decorative: InputSignalWithTransform; /** Consumer CSS classes — merged with variant classes via mergeClasses() */ readonly userClass: InputSignal; /** @internal Computed host class from CVA + consumer overrides */ protected readonly computedClass: Signal; /** @internal Role attribute — separator when semantic, none when decorative */ protected readonly computedRole: Signal; /** @internal Aria-orientation — set only when not decorative */ protected readonly computedAriaOrientation: Signal; /** @internal Aria-hidden — true only when decorative */ protected readonly computedAriaHidden: Signal<'true' | null>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export { ComSeparator, separatorVariants }; export type { SeparatorOrientation, SeparatorVariant, SeparatorVariants };