import type { CollectionSlug, PayloadRequest } from 'payload'; import type { Breadcrumb } from '../types/Breadcrumb.js'; import type { Locale } from '../types/Locale.js'; /** Returns the breadcrumbs to the given document. */ export declare function getBreadcrumbs({ apiURL, breadcrumbLabelField, data, locale, locales, parentCollection, parentField, req, }: { /** * Base URL of the Payload REST API (e.g. `${serverURL}${routes.api}`). * Required when `req` is undefined (i.e. when called from a client component) * so the plugin respects a user-customized `routes.api`. */ apiURL?: string; breadcrumbLabelField: string; data: Record; locale: 'all' | Locale | undefined; locales: Locale[] | undefined; parentCollection: CollectionSlug; parentField: string; req: PayloadRequest | undefined; }): Promise>;