/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { useTerminalSize } from './useTerminalSize.js';
import { getBreakpoint, isNarrowWidth, } from '../utils/responsive.js';
export function useResponsive() {
    const { columns } = useTerminalSize();
    const breakpoint = getBreakpoint(columns);
    return {
        width: columns,
        breakpoint,
        isNarrow: isNarrowWidth(columns),
        isStandard: breakpoint === 'STANDARD',
        isWide: breakpoint === 'WIDE',
    };
}
//# sourceMappingURL=useResponsive.js.map