import * as _angular_core from '@angular/core'; import * as rxjs from 'rxjs'; import { Observable } from 'rxjs'; import * as _odx_angular_components_footer from '@odx/angular/components/footer'; import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view'; import * as _odx_angular_utils from '@odx/angular/utils'; import { MainMenuLinksConfig } from '@odx/angular/components/main-menu'; interface FooterLink { name: string; url: string; } type FooterVariant = (typeof FooterVariant)[keyof typeof FooterVariant]; declare const FooterVariant: { readonly LIGHT: "light"; readonly DARK: "dark"; }; /** * Represents the footer component of an application, dynamically generating links and supporting various styles. * This component integrates dynamic and static content for the footer, including a logo, navigational links, and a customizable description. */ declare class FooterComponent { protected readonly footerLinks$: rxjs.Observable<_odx_angular_components_footer.FooterLink[]>; readonly element: _angular_core.ElementRef; /** * The description of the footer component. * It can be of type DynamicTextContent or null. * * @type {DynamicTextContent} * @default null */ description?: DynamicTextContent | null; /** * The variant of the footer component. * * @type {FooterVariant} * @default FooterVariant.LIGHT */ variant: FooterVariant; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface FooterLinksConfig extends MainMenuLinksConfig { dynamicLinks?: Observable; } /** * Creates configuration tokens for the footer links, providing a structured way to inject and manage footer link configurations. * This utility function encapsulates the configuration for footer links, including defaults and the ability to inject custom configurations. * * @returns {Object} An object containing configuration tokens for footer links: * - `FooterLinksConfig`: A token for injecting the footer links configuration. * - `FooterLinksDefaultConfig`: A token representing the default configuration values. * - `injectFooterLinksConfig`: A function to inject the current footer links configuration. * - `provideFooterLinksConfig`: A function to provide a custom configuration for footer links. * * @example * ```ts * // In your module or component * @NgModule({ * providers: [ * provideFooterLinksConfig({ * legalNoticeUrl: 'https://www.custom-url/legal-notice', * providerIdentificationUrl: 'https://www.custom-url/provider-identification', * dynamicLinks: myDynamicLinksObservable * }) * ] * }) * export class MyModule {} * ``` */ declare const FooterLinksConfig: _angular_core.InjectionToken>; declare const FooterLinksDefaultConfig: FooterLinksConfig; declare const injectFooterLinksConfig: () => FooterLinksConfig; declare const provideFooterLinksConfig: >>(config: _odx_angular_utils.ConfigProvider, D>) => _angular_core.FactoryProvider | _angular_core.ValueProvider; export { FooterComponent, FooterLinksConfig, FooterLinksDefaultConfig, FooterVariant, injectFooterLinksConfig, provideFooterLinksConfig }; export type { FooterLink };