import * as tailwindcss_types_config from 'tailwindcss/types/config'; /** * 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 corner-shape value to apply to all rounded-* classes * @default 'squircle' * * Can be any valid CSS corner-shape value: * - Keywords: 'round', 'scoop', 'bevel', 'notch', 'square', 'squircle' * - Superellipse: 'superellipse(1.4)', 'superellipse(-1)', etc. * * Reference: * - 'square' / superellipse(infinity) : Square corners * - 'squircle' / superellipse(2) : iOS-style squircle * - 'round' / superellipse(1) : Perfect round (default border-radius) * - 'bevel' / superellipse(0) : Straight line chamfer * - 'scoop' / superellipse(-1) : Concave corners * - 'notch' / superellipse(-infinity) : Deep notch */ default?: CornerShapeValue; /** * Override corner-shape values for specific border-radius sizes * @example { sm: 'bevel', lg: 'squircle', full: 'superellipse(2)' } */ variants?: Record; /** * Exclude specific rounded-* classes from having corner-shape applied * @example ['rounded-full', 'rounded-none'] */ exclude?: string[]; /** * Add !important to all corner-shape declarations * Useful if you have conflicting styles * @default false */ important?: boolean; /** * Disable automatic override of rounded-* classes * If false, you'll need to manually add corner-shape utilities * @default true */ enabled?: boolean; } /** * Tailwind CSS Corner Shape Plugin * * Zero-config plugin that automatically applies corner-shape to all rounded-* utilities. * Uses the user's existing borderRadius theme values - no additional configuration needed! */ declare const cornerShapePlugin: { (options: CornerShapePluginOptions): { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; __isOptionsFunction: true; }; declare const squircle: { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; declare const round: { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; declare const bevel: { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; declare const veryRounded: { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; declare const moderatelyRounded: { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; declare const slightlyRounded: { handler: tailwindcss_types_config.PluginCreator; config?: Partial; }; export { type CornerShapePluginOptions, bevel, cornerShapePlugin, cornerShapePlugin as default, moderatelyRounded, round, slightlyRounded, squircle, veryRounded };