import { type Charity, type SupportUkraineBlockOptions } from './types.js'; export type { Charity, CharityTag, SupportUkraineBlockOptions } from './types.js'; export { charitySchema, charitiesSchema } from './types.js'; export { detectLocale, loadLocale, mergeCharities, isRTL, formatBannerText } from './i18n.js'; export { resolveLocale, RTL_LOCALES } from './locales/index.js'; export type { SupportedLocale } from './locales/index.js'; export declare const DEFAULT_CHARITIES: Charity[]; /** * Pick a random item from an array. * * @internal */ export declare function randomItem(items: T[]): T; /** * Create and mount the Ukraine-support charity banner. * * The banner is placed at the top of the page. It displays a randomly * selected charity with the format "πŸ‡ΊπŸ‡¦ Support Ukraine: Name: tagline" β€” * the entire block is a clickable link. Text is translated to the user's * detected locale (or the explicit `locale` option). * * @example * ```ts * import { supportUkraineBlock } from '@damian-buho/support-ukraine' * * // Auto-detect locale from navigator.language * await supportUkraineBlock() * * // Force a specific locale * await supportUkraineBlock({ locale: 'es' }) * ``` */ export declare function supportUkraineBlock(options?: SupportUkraineBlockOptions): Promise;