/** * A UI counter button component. * Tracks a count that can be incremented, decremented, and reset. */ export declare class CounterButton { count: number; label: string; /** * Create a new CounterButton. * @param label - Display label for the button (default: "Counter") */ constructor(label?: string); /** * Increment the counter by 1. */ press(): void; /** * Decrement the counter by 1. */ unpress(): void; /** * Reset the counter to 0. */ reset(): void; /** * Render the button as a string. * @returns Formatted string like `[ Counter: 5 ]` */ render(): string; /** * String representation (alias for render). * @returns Formatted string like `[ Counter: 5 ]` */ toString(): string; }