import React from 'react'; interface PublicSponsor { username: string; avatarUrl: string; } type TierInput = { /** The title of the tier defined in the GitHub Sponsors settings. */ title: string; /** Desired avatar size in pixels. If omitted, a default value based on the tier index is used. */ avatarSize?: number; /** The numeric GitHub Sponsors `tier_id` to link directly to. This will skip scraping for this tier. */ tierId?: string | number; } & Data; type TierResolved = { /** The title of the tier defined in the GitHub Sponsors settings. */ title: string; /** The minimum amount of money this tier is worth in USD. */ minAmount: number; /** A direct link to the GitHub checkout page for this tier. */ href: string; /** The description for this tier as markdown. */ description?: string; /** The sponsors for this tier. */ sponsors: PublicSponsor[]; } & Data; /** Fetches sponsors and groups them by tier. */ type TierWithAmount = TierInput & { amount: number; }; export interface SponsorsProps { /** A list of tiers with the minimum monthly amount (in USD). */ tiers: ReadonlyArray>; /** * Optional cache TTL override in milliseconds. * When omitted, the component's default TTL is used. */ cacheTtlMs?: number; /** Receives tiers (with your Data) and sanitized sponsors. */ children: (tiers: Array>) => React.ReactNode; } /** Renders a list of GitHub sponsors grouped by tier. */ export declare function Sponsors({ tiers, cacheTtlMs, children, }: SponsorsProps): Promise> | Iterable | (string | number | bigint | boolean | React.ReactPortal | React.ReactElement> | Iterable | null | undefined)>; export {};