import { ReactNode } from 'react';
/**
 * Helper to extract string from ReactNode for announcements.
 * Complex ReactNodes (JSX elements) return empty string.
 */
export declare const getStringValue: (node: ReactNode) => string;
/**
 * Builds the announcement string from visible content only.
 * Content visibility depends on expanded state and presence of title.
 */
export declare const buildAnnouncementString: ({ title, description, expanded, actionLabel, actionSecondaryLabel, }: {
    title?: ReactNode;
    description?: ReactNode;
    expanded: boolean;
    actionLabel?: ReactNode;
    actionSecondaryLabel?: ReactNode;
}) => string;
//# sourceMappingURL=helpers.d.ts.map