export interface DanmuLane {
    index: number;
    occupiedUntil: number;
}
export interface ActiveDanmu {
    id: string;
    lane: number;
    endTime: number;
    startTime: number;
    duration: number;
    width?: number;
}
export declare const useDanmuLanes: (laneCount: number, containerWidth: number) => {
    assignLane: (messageId: string, duration: number, width?: number) => number | null;
    updateDanmuWidth: (messageId: string, width: number) => void;
    releaseLane: (messageId: string) => void;
    cleanup: () => void;
};
//# sourceMappingURL=use-danmu-lanes.d.ts.map