/**
 * Represents a quick message button parsed from chat markdown.
 *
 * @private internal helper type of `MessageButton`
 */
export type MessageQuickButton = {
    type: 'message';
    text: string;
    message: string;
};
/**
 * Represents a quick action button parsed from chat markdown.
 *
 * @private internal helper type of `MessageButton`
 */
export type ActionQuickButton = {
    type: 'action';
    text: string;
    code: string;
};
/**
 * Represents one parsed quick button from chat markdown.
 *
 * @public exported from `@promptbook/components`
 */
export type MessageButton = MessageQuickButton | ActionQuickButton;
/**
 * Parses markdown quick buttons in the format `[Button Text](?message=...)` or `[Button Text](?action=...)`.
 * Returns both the content without supported quick buttons and the extracted button definitions.
 *
 * @param content The markdown content that may contain buttons
 * @returns Object with contentWithoutButtons and buttons array
 *
 * @public exported from `@promptbook/components`
 */
export declare function parseMessageButtons(content: string): {
    contentWithoutButtons: string;
    buttons: MessageButton[];
};
