import { WebPartContext } from '@microsoft/sp-webpart-base';
import { ILinkItem } from '../components/SiteBreadcrumb/ISiteBreadcrumbProps';
export declare class SiteService {
    private readonly sp;
    /**
     * Initializes the SiteService instance.
     * @param {WebPartContext} context - The SharePoint WebPart context.
     */
    constructor(context: WebPartContext);
    /**
     * Recursively generates breadcrumb data from the current site up to the root site collection.
     * @param {IWeb} web - The current site web instance.
     * @param {string} rootUrl - The root site absolute URL.
     * @param {ILinkItem[]} breadcrumbs - The collected breadcrumb items.
     * @returns {Promise<ILinkItem[]>} A promise resolving to the breadcrumb items.
     */
    private generateData;
    /**
     * Retrieves breadcrumb navigation data from the current site up to the root site collection.
     * @returns {Promise<ILinkItem[]>} A promise resolving to an array of breadcrumb link items.
     */
    getBreadcrumbData(): Promise<ILinkItem[]>;
}
//# sourceMappingURL=SiteService.d.ts.map