import type { ThemeClassesOverride, VariantValues } from '@vuecs/core'; import type { BreadcrumbLeafHandle, BreadcrumbThemeClasses } from './types'; /** * Context shared from `` to its descendant parts. * * `themeVariant` (e.g. `{ size: 'sm' }`) propagates to **every** part so a * single `` resizes the whole trail without * repeating the prop. `themeClass` propagates only to parts on the shared * `breadcrumb` root key (`
    ` / link / page / ellipsis); the `
  1. ` and * separator carry their own keys and inherit `themeVariant` only. * * Optional — parts render bare when mounted outside `` (unit * tests / ad-hoc composition). */ export type BreadcrumbContext = { themeClass: () => ThemeClassesOverride | undefined; themeVariant: () => VariantValues | undefined; /** Nearest-ancestor leaf-label override handle (see `useBreadcrumbLeaf`). */ leaf: BreadcrumbLeafHandle; }; export declare function provideBreadcrumbContext(ctx: BreadcrumbContext): void; export declare function useBreadcrumbContext(): BreadcrumbContext | null; //# sourceMappingURL=context.d.ts.map