/**
 * A type assertion helper to check if a value is a valid {@link LightDarkColorScheme}
 * when it is pulled from unknown sources (like local storage).
 *
 * @since 6.0.0
 */ export function isLightDarkColorScheme(value) {
    return value === "light" || value === "dark";
}
/**
 * A type assertion helper to check if a value is a valid
 * {@link ColorScheme} when it is pulled from unknown sources (like local
 * storage).
 *
 * @since 6.0.0
 */ export function isColorScheme(value) {
    return isLightDarkColorScheme(value) || value === "system";
}

//# sourceMappingURL=isColorScheme.js.map