
import { OpacityStep } from "../packages/types/dist/index.js";

//#region ../tailwind-internal/dist/utils/opacity.d.ts
//#region src/utils/opacity.d.ts
/**
 * Converts a number or string to a valid OpacityStep.
 *
 * Converts a number or string to a valid OpacityStep by:
 * - Parsing the value as an integer
 * - Clamping between 0 and 100
 * - Returning as a string in the format expected by OpacityStep
 *
 * @param opacity - The opacity value (number or string)
 * @returns A valid OpacityStep string clamped between 0-100
 * @throws {Error} If opacity is undefined, null, or cannot be parsed as a number
 */
declare function parseOpacityStep(opacity: number | string | undefined): OpacityStep; //#endregion
//#endregion
export { parseOpacityStep };