import { useMediaQuery } from '../useMediaQuery/index.js';
export function useScreenOrientation(options) {
    const matches = useMediaQuery('(orientation: portrait)', {
        initializeWithValue: options?.initializeWithValue ?? true,
    });
    return matches === undefined ? undefined : matches ? 'portrait' : 'landscape';
}
