import { HarnessPredicate } from '@angular/cdk/testing'; import { SkyHarnessFilters, SkyQueryableComponentHarness, SkyComponentHarness } from '@skyux/core/testing'; /** * A set of criteria that can be used to filter a list of `SkyNavbarHarness` instances. */ interface SkyNavbarHarnessFilters extends SkyHarnessFilters { } /** * A set of criteria that can be used to filter a list of `SkyNavbarItemHarness` instances. */ interface SkyNavbarItemHarnessFilters extends SkyHarnessFilters { } /** * Harness to interact with a navbar item component in tests. */ declare class SkyNavbarItemHarness extends SkyQueryableComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyNavbarItemHarness` that meets certain criteria. */ static with(filters: SkyNavbarItemHarnessFilters): HarnessPredicate; /** * Whether the navbar item is active. */ isActive(): Promise; } /** * Harness for interacting with a navbar component in tests. */ declare class SkyNavbarHarness extends SkyComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyNavbarHarness` that meets certain criteria. */ static with(filters: SkyNavbarHarnessFilters): HarnessPredicate; /** * Gets a specific navbar item based on the filter criteria. * @param filter The filter criteria. */ getItem(filter: SkyNavbarItemHarnessFilters): Promise; /** * Gets an array of navbar items based on the filter criteria. * If no filter is provided, returns all navbar items. * @param filters The optional filter criteria. */ getItems(filters?: SkyNavbarItemHarnessFilters): Promise; } export { SkyNavbarHarness, SkyNavbarItemHarness }; export type { SkyNavbarHarnessFilters, SkyNavbarItemHarnessFilters };