/** * Tailwind CSS v4 Compatible Corner Shape Plugin * * This version doesn't use plugin.withOptions which is incompatible with v4. * Instead, it directly exports the plugin function. */ /** * Valid corner shape keywords from the CSS spec */ type CornerShapeKeyword = 'round' | 'scoop' | 'bevel' | 'notch' | 'square' | 'squircle'; /** * A corner shape value can be: * - A keyword: 'round', 'scoop', 'bevel', 'notch', 'square', 'squircle' * - A superellipse function: 'superellipse(1.4)', 'superellipse(-1)', etc. */ type CornerShapeValue = CornerShapeKeyword | `superellipse(${number})` | string; interface CornerShapePluginOptions { default?: CornerShapeValue; variants?: Record; exclude?: string[]; important?: boolean; enabled?: boolean; } /** * Create a v4-compatible corner shape plugin */ declare function createCornerShapePlugin(options?: CornerShapePluginOptions): ({ addUtilities, matchUtilities, theme }: any) => void; declare const squircle: ({ addUtilities, matchUtilities, theme }: any) => void; declare const round: ({ addUtilities, matchUtilities, theme }: any) => void; declare const bevel: ({ addUtilities, matchUtilities, theme }: any) => void; declare const veryRounded: ({ addUtilities, matchUtilities, theme }: any) => void; declare const moderatelyRounded: ({ addUtilities, matchUtilities, theme }: any) => void; declare const slightlyRounded: ({ addUtilities, matchUtilities, theme }: any) => void; export { type CornerShapePluginOptions, bevel, createCornerShapePlugin, createCornerShapePlugin as default, moderatelyRounded, round, slightlyRounded, squircle, veryRounded };