import * as i0 from "@angular/core"; /** * Service for handling documentation navigation with scroll management. * * @example * ```typescript * import { DocsNavigationService } from 'valtech-components'; * * @Component({...}) * export class MyComponent { * private docsNav = inject(DocsNavigationService); * * onLinkClick(route: string[]) { * this.docsNav.navigateAndScroll(route); * } * } * ``` */ export declare class DocsNavigationService { private router; /** * Default scroll container selector. * Can be overridden per-call or globally. */ private defaultScrollSelector; /** * Navigate to a route and scroll to top. * @param route - Route segments to navigate to * @param scrollSelector - Optional custom scroll container selector */ navigateAndScroll(route: string[], scrollSelector?: string): Promise; /** * Scroll to top of the documentation content. * Tries multiple scroll containers for compatibility. * @param scrollSelector - Optional custom scroll container selector */ scrollToTop(scrollSelector?: string): void; /** * Scroll to a specific element by ID. * @param elementId - The ID of the element to scroll to * @param scrollSelector - Optional custom scroll container selector */ scrollToElement(elementId: string, scrollSelector?: string): void; /** * Set the default scroll container selector. * @param selector - CSS selector for the scroll container */ setDefaultScrollSelector(selector: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }