import { InjectionToken, Provider, EnvironmentProviders } from '@angular/core'; /** * Configuration object for global configuration of Kirby. */ interface KirbyConfig { moduleRootRoutePath?: string; /** * Activate focus management for components rendered in a kirby-router-outlet. * When a kirby-page enters the view, focus will be set to the pages primary heading (h1) inside the pages toolbar. */ focusManager?: boolean; /** * Set the HTML documents title to match the title of any kirby-page entering the view. */ setHtmlDocTitle?: boolean; } /** * Injection token for provided Kirby configuration. */ declare const KIRBY_CONFIG: InjectionToken; /** * * @param features - Additional features to be provided to the Kirby environment: * @see {@link withGlobalSetup} for setting up global configuration. */ declare function provideKirby(...features: Provider[] | EnvironmentProviders[]): EnvironmentProviders; /** * Sets up global configuration when used with the provideKirby EnvironmentProvider function. * Should be called exactly once per application when bootstrapping, to set up Kirby in the browsers runtime. * * @param config - (Optional) Additional configuration via the `KirbyConfig` object. */ declare function withGlobalSetup(config?: KirbyConfig): EnvironmentProviders; /** * Retrieves the global Kirby configuration object from the window object. */ declare function getGlobalConfig(): KirbyConfig | undefined; export { KIRBY_CONFIG, getGlobalConfig, provideKirby, withGlobalSetup }; export type { KirbyConfig }; //# sourceMappingURL=kirbydesign-designsystem-config.d.ts.map