import * as i0 from '@angular/core'; import { ViewContainerRef } from '@angular/core'; import * as i1 from '@angular/common'; declare class DaffArticleCopyButtonService { private buttons; /** * Finds all code blocks and adds copy buttons to them. * Skips code blocks with the `nocopy` attribute. * @param hostElement - The host element to search for code blocks. * @param viewContainerRef - The view container to create the copy button components. */ addCopyButtonsToCodeBlocks(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void; /** * Cleanup copy button references */ cleanup(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class DaffArticleHeadingLinkService { private links; /** * Finds all h2, h3, and h4 elements and wraps their text content with heading link components. * @param hostElement - The host element to search for heading elements. * @param viewContainerRef - The view container to create the heading link components. */ addLinksToHeadings(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void; /** * Cleanup heading link references */ cleanup(): void; /** * Generates a URL-friendly fragment from heading text */ private generateFragment; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * A component for creating articles within your page. */ declare class DaffArticleComponent { private copyButtonService; private headingLinkService; constructor(copyButtonService: DaffArticleCopyButtonService, headingLinkService: DaffArticleHeadingLinkService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DaffArticleMetaDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * @deprecated in favor of {@link DAFF_ARTICLE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0. */ declare class DaffArticleModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @docs-private */ declare const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective]; export { DAFF_ARTICLE_COMPONENTS, DaffArticleComponent, DaffArticleMetaDirective, DaffArticleModule };