import { ButtonBuilder, ButtonStyle } from 'discord.js';
import type { Button } from '../types';
/**
 * Creates a Discord button builder from a public button descriptor.
 *
 * @param button Button descriptor.
 * @returns Discord button builder.
 */
export declare function normalizeButton(button: Button): ButtonBuilder;
/**
 * Applies button data to a button-like Discord builder.
 *
 * @param button Target button builder.
 * @param data Public button descriptor.
 * @returns The same button builder instance for chaining.
 */
export declare function applyButtonData<T extends {
    setLabel(label: string): T;
    setCustomId(id: string): T;
    setStyle(style: ButtonStyle): T;
    setEmoji(emoji: {
        name: string;
    }): T;
}>(button: T, data: Button): T;
//# sourceMappingURL=button.d.ts.map