/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import type { ReactiveController, ReactiveControllerHost } from 'lit'; import type { NileAppShell } from './nile-app-shell'; /** A reactive controller that links a region component to its shell, re-rendering the host when the shell's nav or panel state changes. */ export declare class AppShellController implements ReactiveController { host: ReactiveControllerHost & HTMLElement; /** Id of the shell to link to. Defaults to the nearest ancestor. */ shellId?: string; private linked?; private observer?; constructor(host: ReactiveControllerHost & HTMLElement); /** The linked shell, resolving it first if it has not been found yet. */ get shell(): NileAppShell | null; hostConnected(): void; hostDisconnected(): void; /** Resolve the shell and subscribe to it. Returns true when newly linked. */ private link; private unlink; private find; private handleShellChange; } export default AppShellController;