export declare const FLOATING_COMMENT_CARD_GAP = 8;
export declare const FLOATING_COMMENT_BOTTOM_SPACE = 48;
export declare const FLOATING_COMMENT_RIGHT_SPACE = 48;
export declare const enum FloatingLayoutInvalidationFlag {
    None = 0,
    Anchor = 1,
    Viewport = 2,
    Height = 4,
    Visibility = 8
}
export interface FloatingCardLayoutInput {
    floatingCardId: string;
    anchorTop: number | null;
    height: number;
    isVisible: boolean;
    isMeasured: boolean;
    lastCommittedTranslateY: number | null;
    invalidationFlags: FloatingLayoutInvalidationFlag;
}
export interface FloatingLayoutResult {
    placements: Map<string, {
        translateY: number | null;
        isVisible: boolean;
    }>;
    stopIndex: number;
    usedFocusedLayout: boolean;
}
export declare const roundFloatingTranslateY: (translateY: number | null) => number | null;
export declare const computeFloatingCommentLayout: ({ floatingCards, recomputeStartIndex, firstInvalidatedIndex, lastInvalidatedIndex, gap, focusedFloatingCardId, }: {
    floatingCards: FloatingCardLayoutInput[];
    recomputeStartIndex: number;
    firstInvalidatedIndex?: number;
    lastInvalidatedIndex: number;
    gap?: number;
    focusedFloatingCardId?: string | null;
}) => FloatingLayoutResult;
