import { type TPlacementOptions } from '../internal/resolve-placement'; /** * Resolves placement options to CSS `position-area` syntax. * * The `align` field represents the *visual* alignment: * - `align: 'start'` means "aligned to the trigger's start edge" (left in LTR for block axis) * - `align: 'end'` means "aligned to the trigger's end edge" * - `align: 'center'` means centered (single-axis position-area) * * CSS `position-area` uses `span-*` keywords which indicate the *expansion direction*. * Visual start-alignment requires `span-{cross-axis}-end` (expand toward end = start-aligned). * This function handles the inversion internally. * * @example * placementToPositionArea({ placement: { axis: 'block', edge: 'end', align: 'center' } }) // → 'block-end' * placementToPositionArea({ placement: { axis: 'block', edge: 'end', align: 'start' } }) // → 'block-end span-inline-end' * placementToPositionArea({ placement: { axis: 'block', edge: 'end', align: 'end' } }) // → 'block-end span-inline-start' */ export declare function placementToPositionArea({ placement }: { placement: TPlacementOptions; }): string;