import { type ReactNode } from 'react'; import { type VariantProps } from 'class-variance-authority'; import { type LegalUrlOverrides, type ResolvedLegalUrls } from './legal-urls'; import { type SocialNetwork } from './socials'; declare const rootVariants: (props?: ({ variant?: "full" | "compact" | "minimal" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type PublicFooterVariant = NonNullable['variant']>; export interface PublicFooterLink { href: string; label: string; /** When true, link opens in a new tab with the localised aria-label suffix. */ external?: boolean; } export interface PublicFooterLinkGroup { /** Stable key — used to look up the column heading via `t('ui.footer.group.')`. */ key: 'product' | 'resources' | 'company' | 'legal' | (string & {}); links: PublicFooterLink[]; } export interface PublicFooterSocial { network: SocialNetwork; /** Override the kit's default URL. */ href?: string; } export interface PublicFooterProps { variant: PublicFooterVariant; /** Origin for legally-required URLs. Default: 'https://www.alfadocs.com'. */ marketingBaseUrl?: string; /** Override individual legal-link slugs per locale. Rare. */ legalUrlOverrides?: LegalUrlOverrides; /** `full` variant: consumer-supplied link columns. Legal column is always rendered. */ linkGroups?: PublicFooterLinkGroup[]; /** `full` variant: subset of social networks. Default: all four. Pass `[]` to hide the row. */ socials?: PublicFooterSocial[]; /** `full` variant: custom logo node. Default: kit's wordmark Logo. */ logoSlot?: ReactNode; /** * Extra surface-specific links, appended after the standard legal links in * every variant. A ``, an ``, a `