import { Awareness } from 'y-protocols/awareness';
import { type CollaborationStatus } from '../lib/collaboration-provider.js';
export interface PresenceChipsProps {
    /** Awareness instance returned from `createCollaborationProvider`. */
    awareness: Awareness;
    /**
     * Optional connection status. When provided the strip renders a small
     * status pill (Connected / Connecting / Disconnected) on the left side.
     */
    status?: CollaborationStatus;
    /**
     * Hide the local user from the strip. Defaults to `true` — the local user
     * already knows they're editing.
     */
    hideSelf?: boolean;
    /** Max chips to show before collapsing to "+N". Defaults to 5. */
    maxVisible?: number;
    className?: string;
}
/**
 * Small avatar / initials strip showing who else is currently editing the
 * document. Subscribes to the supplied `Awareness` instance for live
 * updates.
 *
 * The component is intentionally stateless about transport — it only reads
 * from Awareness and `status`. Wiring is the caller's job.
 */
export declare function PresenceChips({ awareness, status, hideSelf, maxVisible, className, }: PresenceChipsProps): import("react/jsx-runtime").JSX.Element;
/** Convert "Alice Cooper" → "AC", single names → "A", empty → "?". */
export declare function nameToInitials(name: string): string;
//# sourceMappingURL=PresenceChips.d.ts.map