
import { Styles } from "../styles/types.js";
import { StaticStyle } from "./types.js";

//#region src/tasty/static/tastyStatic.d.ts
/**
 * Generate styles and return a StaticStyle object.
 * The object has `className`, `styles`, and `toString()`.
 *
 * @example
 * ```typescript
 * const button = tastyStatic({
 *   fill: '#blue',
 *   padding: '2x',
 * });
 * // After build: { className: 'ts3f2a1b', styles: {...}, toString() }
 *
 * <div className={button} />  // Works via toString()
 * ```
 */
declare function tastyStatic(styles: Styles): StaticStyle;
/**
 * Extend an existing StaticStyle with additional styles.
 * Uses mergeStyles() internally for proper nested selector handling.
 *
 * @example
 * ```typescript
 * const button = tastyStatic({ fill: '#blue' });
 * const primary = tastyStatic(button, { fill: '#purple' });
 * // After build: { className: 'ts8c4d2e', styles: {...merged...}, toString() }
 * ```
 */
declare function tastyStatic(base: StaticStyle, styles: Styles): StaticStyle;
/**
 * Generate styles for a specific CSS selector.
 * The call is completely removed after build transformation.
 *
 * @example
 * ```typescript
 * tastyStatic('.heading', { preset: 'h1', color: '#primary' });
 * // After build: (removed)
 * ```
 */
declare function tastyStatic(selector: string, styles: Styles): void;
//#endregion
export { tastyStatic };
//# sourceMappingURL=tastyStatic.d.ts.map